This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi Uli, I fear you cleaned up too much. test-fmemopen fails for me, the appended patch fixes this. Andreas 2000-09-02 Andreas Jaeger <aj@suse.de> * libio/fmemopen.c (fmemopen_close): Revert one part of last patch. ============================================================ Index: libio/fmemopen.c --- libio/fmemopen.c 2000/09/01 20:49:16 1.2 +++ libio/fmemopen.c 2000/09/02 10:56:40 @@ -183,7 +183,8 @@ c = (fmemopen_cookie_t *) cookie; - free (c->buffer); + if (c->mybuffer) + free (c->buffer); free (c); return 0; -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |