From: "Markus Rechberger" <mrechberger@gmail.com>
To: leslie.polzer@gmx.net
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Handling ioctl() argp memory
Date: Sun, 4 Mar 2007 19:21:08 +0100 [thread overview]
Message-ID: <d9def9db0703041021o77aa2942s64bb5201073efa3b@mail.gmail.com> (raw)
In-Reply-To: <20070304170402.GA7625@wintermute.farpoint>
Did you run over it with valgrind already?
On 3/4/07, leslie.polzer@gmx.net <leslie.polzer@gmx.net> wrote:
> On Sun, Mar 04, 2007 at 05:52:20PM +0100, Markus Rechberger wrote:
>
> > could you show us the sourcecode?
> Take a look at the main function of the attached file.
> I'm allocating memory at the start for new_map, but when I attempt
> to free it at the end, libc complains.
>
> I think now it's not related to the ioctl, since freeing 'map' works
> (which is also used with ioctl), but freeing 'mapping' does not, despite
> it being not passed via ioctl.
>
> The problem has to be somewhere else, but I cannot see where...
>
> Leslie
>
> --
> gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83
> http://nic-nac-project.de/~skypher/
>
--
Markus Rechberger
next prev parent reply other threads:[~2007-03-04 18:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-04 16:48 Handling ioctl() argp memory leslie.polzer
2007-03-04 16:52 ` Markus Rechberger
2007-03-04 17:04 ` leslie.polzer
2007-03-04 18:21 ` Markus Rechberger [this message]
2007-03-05 1:54 ` Glynn Clements
2007-03-05 5:23 ` leslie.polzer
2007-03-05 6:26 ` Glynn Clements
2007-03-05 10:49 ` Markus Rechberger
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=d9def9db0703041021o77aa2942s64bb5201073efa3b@mail.gmail.com \
--to=mrechberger@gmail.com \
--cc=leslie.polzer@gmx.net \
--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).