From 9c6f68cdc9aa83deb3b7d4505e30ba37055b8aec Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 15 Jul 1999 18:45:14 +0000 Subject: [PATCH] Update. * stdio-common/bug1.c: Avoid memory leak. --- ChangeLog | 2 ++ stdio-common/bug1.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 62085baeef..d691a5598a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-07-15 Ulrich Drepper + * stdio-common/bug1.c: Avoid memory leak. + * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep program deterministic. * sysdeps/i386/fpu/e_powf.S: Likewise. diff --git a/stdio-common/bug1.c b/stdio-common/bug1.c index 51639d3476..468be5ca22 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; }