From: Vadiraj <vadiraj.cs@gmail.com>
To: linux-c-programming <linux-c-programming@vger.kernel.org>
Subject: Re: deletion in singly linked list--pls resend replies
Date: Thu, 25 Nov 2004 12:42:35 +0530 [thread overview]
Message-ID: <6eee1c40411242312610a6734@mail.gmail.com> (raw)
In-Reply-To: <1101268688.3786.50.camel@myLinux>
On Wed, 24 Nov 2004 09:28:08 +0530, Jagadeesh Bhaskar P
<jbhaskar@hclinsys.com> wrote:
> On Tue, 2004-11-23 at 15:05, Bakki Srinivas wrote:
> > Until and unless u free the memory obtained by malloc,the address space is
> > still in the process address space.
I guess the address space is still in our process address space with
in the free pool.
Further request to malloc() with <= freed size is picked up from the
free pool rather from the system...
Please, correct me if I'm wrong
>
> Even if i do free it, where will the address A->next point to. Since it
> is not inside the process address space, wont that segfault??
> NB: My mail server was down yesterday :-(. If anyone of u had sent any
> replies, pls do resend it.
>
> --
> Jagadeesh Bhaskar P <jbhaskar@hclinsys.com>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
cheers,
Vadi
prev parent reply other threads:[~2004-11-25 7:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 9:35 deletion in singly linked list Bakki Srinivas
2004-11-23 9:55 ` Jagadeesh Bhaskar P
2004-11-24 3:58 ` deletion in singly linked list--pls resend replies Jagadeesh Bhaskar P
2004-11-25 7:12 ` Vadiraj [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6eee1c40411242312610a6734@mail.gmail.com \
--to=vadiraj.cs@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).