Module Name: src
Committed By: christos
Date: Fri Nov 18 02:38:18 UTC 2011
Modified Files:
src/lib/libc/gdtoa: misc.c
Log Message:
PR/45627: Martin Husemann: Plug memory leak
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/gdtoa/misc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gdtoa/misc.c
diff -u src/lib/libc/gdtoa/misc.c:1.7 src/lib/libc/gdtoa/misc.c:1.8
--- src/lib/libc/gdtoa/misc.c:1.7 Mon Mar 21 00:52:09 2011
+++ src/lib/libc/gdtoa/misc.c Thu Nov 17 21:38:17 2011
@@ -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 @@ pow5mult
b1 = mult(b, p5);
if (b1 == NULL)
return NULL;
+ Bfree(b);
b = b1;
}
if (!(k = (unsigned int)k >> 1))