diff options
author | Andreas Jaeger <aj@suse.de> | 2000-09-02 15:05:15 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-09-02 15:05:15 +0000 |
commit | 3146ad427ad702bfa6c18c418c0883bd3341d079 (patch) | |
tree | c30fc13fd7a466761bfb8465e042428a7f9f394f /libio/fmemopen.c | |
parent | f622c1a7b238b29f51c95cec38575768da61fc6d (diff) | |
download | glibc-3146ad427ad702bfa6c18c418c0883bd3341d079.zip glibc-3146ad427ad702bfa6c18c418c0883bd3341d079.tar.gz glibc-3146ad427ad702bfa6c18c418c0883bd3341d079.tar.bz2 |
Update.
2000-09-02 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
* libio/fmemopen.c (fmemopen_close): Revert one part of last
patch.
Diffstat (limited to 'libio/fmemopen.c')
-rw-r--r-- | libio/fmemopen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/fmemopen.c b/libio/fmemopen.c index bf996d4..92df2e4 100644 --- a/libio/fmemopen.c +++ b/libio/fmemopen.c @@ -183,7 +183,8 @@ fmemopen_close (void *cookie) c = (fmemopen_cookie_t *) cookie; - free (c->buffer); + if (c->mybuffer) + free (c->buffer); free (c); return 0; |