Regex memory management
Jakub Jelinek
jakub@redhat.com
Sat Nov 2 21:52:00 GMT 2002
On Sat, Nov 02, 2002 at 04:25:09PM -0800, Roland McGrath wrote:
> We really should have the regex code audited for possible memory leaks in
> error conditions, since Jakub has already observed some. If Isamu doesn't
> have time, perhaps someone else can find time to do it soon. Jakub's
> obstack suggestions sound good to me, and converting to that makes it
> vastly easier to be sure the code is correct. But I don't know the regex
> code and its allocation properties at all, so as to say that the obstack
> model fits acceptably right in all cases.
I can try to convert it to use obstacks, but would like to hear from Isamu
about it first...
Jakub
More information about the Libc-hacker
mailing list