diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-15 18:45:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-15 18:45:14 +0000 |
commit | 9c6f68cdc9aa83deb3b7d4505e30ba37055b8aec (patch) | |
tree | 68ddeb1bc89296acd80175e0e57aa7c171d5668a /stdio-common/bug1.c | |
parent | aff6dc6cff1c12744e98001be0c8018936b00004 (diff) | |
download | glibc-9c6f68cdc9aa83deb3b7d4505e30ba37055b8aec.zip glibc-9c6f68cdc9aa83deb3b7d4505e30ba37055b8aec.tar.gz glibc-9c6f68cdc9aa83deb3b7d4505e30ba37055b8aec.tar.bz2 |
Update.
* stdio-common/bug1.c: Avoid memory leak.
Diffstat (limited to 'stdio-common/bug1.c')
-rw-r--r-- | stdio-common/bug1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stdio-common/bug1.c b/stdio-common/bug1.c index 51639d3..468be5c 100644 --- a/stdio-common/bug1.c +++ b/stdio-common/bug1.c @@ -23,5 +23,7 @@ main (void) puts (lose ? "Test FAILED!" : "Test succeeded."); + free (bp); + return lose; } |