Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gdtoa PR/45627: Martin Husemann: Plug memory leak
details: https://anonhg.NetBSD.org/src/rev/e7e61c5c4b3f
branches: trunk
changeset: 771275:e7e61c5c4b3f
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 18 02:38:17 2011 +0000
description:
PR/45627: Martin Husemann: Plug memory leak
diffstat:
lib/libc/gdtoa/misc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 913f5516128c -r e7e61c5c4b3f lib/libc/gdtoa/misc.c
--- a/lib/libc/gdtoa/misc.c Fri Nov 18 01:32:33 2011 +0000
+++ b/lib/libc/gdtoa/misc.c Fri Nov 18 02:38:17 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.7 2011/03/21 04:52:09 christos Exp $ */
+/* $NetBSD: misc.c,v 1.8 2011/11/18 02:38:17 christos Exp $ */
/****************************************************************
@@ -432,6 +432,7 @@
b1 = mult(b, p5);
if (b1 == NULL)
return NULL;
+ Bfree(b);
b = b1;
}
if (!(k = (unsigned int)k >> 1))
Home |
Main Index |
Thread Index |
Old Index