[Openvas-commits] r5757 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Oct 29 15:35:38 CET 2009
Author: mattm
Date: 2009-10-29 15:35:38 +0100 (Thu, 29 Oct 2009)
New Revision: 5757
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/openvasmd.c
trunk/openvas-manager/src/splint.h
Log:
* src/splint.h (g_strfreev, g_key_file_free, g_string_free)
(g_option_context_free): New headers, as in Administrator.
* src/openvasmd.c: Include splint.h.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2009-10-29 14:32:25 UTC (rev 5756)
+++ trunk/openvas-manager/ChangeLog 2009-10-29 14:35:38 UTC (rev 5757)
@@ -1,5 +1,12 @@
2009-10-29 Matthew Mundell <matthew.mundell at intevation.de>
+ * src/splint.h (g_strfreev, g_key_file_free, g_string_free)
+ (g_option_context_free): New headers, as in Administrator.
+
+ * src/openvasmd.c: Include splint.h.
+
+2009-10-29 Matthew Mundell <matthew.mundell at intevation.de>
+
Cleanup after static analysis.
* src/ovas-mngr-comm.c (sendf_to_server): Declare variables at start of
Modified: trunk/openvas-manager/src/openvasmd.c
===================================================================
--- trunk/openvas-manager/src/openvasmd.c 2009-10-29 14:32:25 UTC (rev 5756)
+++ trunk/openvas-manager/src/openvasmd.c 2009-10-29 14:35:38 UTC (rev 5757)
@@ -113,6 +113,10 @@
#include "ovas-mngr-comm.h"
#include "tracef.h"
+#ifdef S_SPLINT_S
+#include "splint.h"
+#endif
+
/**
* @brief The name of this program.
*
Modified: trunk/openvas-manager/src/splint.h
===================================================================
--- trunk/openvas-manager/src/splint.h 2009-10-29 14:32:25 UTC (rev 5756)
+++ trunk/openvas-manager/src/splint.h 2009-10-29 14:35:38 UTC (rev 5757)
@@ -112,6 +112,18 @@
void
g_rand_free (/*@only@*/ /*@out@*/ GRand *);
+void
+g_strfreev (/*@only@*/ /*@out@*/ gchar **);
+
+void
+g_key_file_free (/*@only@*/ /*@out@*/ GKeyFile *);
+
+void
+g_string_free (/*@only@*/ /*@out@*/ GString *, gboolean);
+
+void
+g_option_context_free (/*@only@*/ /*@out@*/ GOptionContext *);
+
/* UUIDS. */
More information about the Openvas-commits
mailing list