Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/httpd Plug a memory leak for ssl-protected formatted...
details: https://anonhg.NetBSD.org/src/rev/97b4ac344ea6
branches: trunk
changeset: 748747:97b4ac344ea6
user: agc <agc%NetBSD.org@localhost>
date: Wed Nov 04 15:37:39 2009 +0000
description:
Plug a memory leak for ssl-protected formatted output
diffstat:
libexec/httpd/ssl-bozo.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 352244a768d6 -r 97b4ac344ea6 libexec/httpd/ssl-bozo.c
--- a/libexec/httpd/ssl-bozo.c Wed Nov 04 15:35:09 2009 +0000
+++ b/libexec/httpd/ssl-bozo.c Wed Nov 04 15:37:39 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssl-bozo.c,v 1.5 2009/04/18 07:28:24 mrg Exp $ */
+/* $NetBSD: ssl-bozo.c,v 1.6 2009/11/04 15:37:39 agc Exp $ */
/* $eterna: ssl-bozo.c,v 1.9 2008/11/06 05:08:11 mrg Exp $ */
@@ -122,6 +122,7 @@
if ((nbytes = vasprintf(&buf, fmt, ap)) != -1)
SSL_write(bozossl, buf, nbytes);
va_end(ap);
+ free(buf);
return nbytes;
}
Home |
Main Index |
Thread Index |
Old Index