ports/security/greenbone-security-assistant9/files/patch-src-gsad_base.c
Jose Alonso Cardenas Marquez 49c0b59ecc - New port: security/greenbone-security-assistant9
The Open Vulnerability Assessment System (OpenVAS) is a framework of several
services and tools offering a comprehensive and powerful vulnerability
scanning and vulnerability management solution.

This package contains the Greenbone Security Assistant, a web interface for
the OpenVAS Manager.

WWW: http://www.openvas.org/
2017-08-03 22:45:13 +00:00

19 lines
551 B
C

--- src/gsad_base.c 2017-08-03 16:02:58.244183000 -0500
+++ src/gsad_base.c 2017-08-03 16:03:49.611595000 -0500
@@ -48,7 +48,7 @@
#include <libxslt/xsltInternals.h> /* for xsltStylesheetPtr */
#include <libxslt/transform.h> /* for xsltApplyStylesheet() */
#include <libxslt/xsltutils.h> /* for xsltSaveResultToString() */
-#include <malloc.h>
+#include <stdlib.h>
#else
#include <string.h>
#include <sys/wait.h>
@@ -339,7 +339,6 @@
xsltFreeStylesheet (cur);
xmlFreeDoc (res);
- malloc_trim (0);
return (char *) doc_txt_ptr;
#else