comp.lang.ada
 help / color / mirror / Atom feed
From: chris <spamoff.danx@ntlworld.com>
Subject: Re: Free-ing memory: not springing leaks?
Date: Sun, 14 Sep 2003 21:00:57 +0200
Date: 2003-09-14T21:00:57+02:00	[thread overview]
Message-ID: <ZJ39b.1659$Nb6.1296@newsfep4-winn.server.ntli.net> (raw)
In-Reply-To: <m31xujcusb.fsf@insalien.org>


Thanks Ludovic, this is a great help.  I have fixed DLibs and released 
DLibs 0.11 with the corrections.  It now no longer free's the memory 
returned by dlerror and relies on the library to manage it as you described.

> This is supposedly documented by your library.  Some libraries return
> "statically allocated" memory which you must not free.  This is for
> example the case of readdir(3).

Yeah, as you point out it isn't always documented though.  What a pain! 




Thanks again,
Chris




  reply	other threads:[~2003-09-14 19:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13 21:33 Free-ing memory: not springing leaks? chris
2003-09-14  1:10 ` Matthew Heaney
2003-09-14 11:02   ` chris
2003-09-14 12:51     ` Matthew Heaney
2003-09-14 12:14       ` chris
2003-09-14 14:24         ` Ludovic Brenta
2003-09-14 19:00           ` chris [this message]
2003-09-14 16:06         ` Simon Wright
2003-09-15  7:13           ` Martin Krischik
2003-09-18 20:15         ` Warren W. Gay VE3WWG
2003-09-19  3:02           ` Hyman Rosen
2003-09-19 13:07             ` Warren W. Gay VE3WWG
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox