[Openvas-commits] r5413 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 7 00:54:17 CEST 2009


Author: timb
Date: 2009-10-07 00:54:16 +0200 (Wed, 07 Oct 2009)
New Revision: 5413

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/otp.c
Log:
Fixed memory leak


Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-10-06 22:51:07 UTC (rev 5412)
+++ trunk/openvas-manager/ChangeLog	2009-10-06 22:54:16 UTC (rev 5413)
@@ -1,3 +1,7 @@
+2009-10-06  Tim Brown <timb at openvas.org>
+
+	* src/otp.c: Fixed memoey leak.
+
 2009-10-06  Matthew Mundell <matthew.mundell at intevation.de>
 
 	* src/tasks_sql.h (init_manage): Log database versions on version failure.

Modified: trunk/openvas-manager/src/otp.c
===================================================================
--- trunk/openvas-manager/src/otp.c	2009-10-06 22:51:07 UTC (rev 5412)
+++ trunk/openvas-manager/src/otp.c	2009-10-06 22:54:16 UTC (rev 5413)
@@ -1020,6 +1020,7 @@
       set_scanner_state (SCANNER_PLUGIN_LIST_OID);
       from_scanner_start += match + 1 - *messages;
       *messages = match + 1;
+      g_free (value);
       return 0;
     }
   return -2;



More information about the Openvas-commits mailing list