Changeset View
Changeset View
Standalone View
Standalone View
security/greenbone-security-assistant9/files/patch-src-gsad_base.c
--- src/gsad_base.c 2017-08-03 16:02:58.244183000 -0500 | --- src/gsad_base.c.orig 2018-03-28 13:23:57 UTC | ||||
+++ src/gsad_base.c 2017-08-03 16:03:49.611595000 -0500 | +++ src/gsad_base.c | ||||
@@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||||
#include <libxslt/xsltInternals.h> /* for xsltStylesheetPtr */ | #include <libxslt/xsltInternals.h> /* for xsltStylesheetPtr */ | ||||
#include <libxslt/transform.h> /* for xsltApplyStylesheet() */ | #include <libxslt/transform.h> /* for xsltApplyStylesheet() */ | ||||
#include <libxslt/xsltutils.h> /* for xsltSaveResultToString() */ | #include <libxslt/xsltutils.h> /* for xsltSaveResultToString() */ | ||||
-#include <malloc.h> | -#include <malloc.h> | ||||
+#include <stdlib.h> | +#include <stdlib.h> | ||||
#else | #else | ||||
#include <string.h> | #include <string.h> | ||||
#include <sys/wait.h> | #include <sys/wait.h> | ||||
@@ -339,7 +339,6 @@ | @@ -339,7 +339,6 @@ xsl_transform_with_stylesheet (const char *xml_text, | ||||
xsltFreeStylesheet (cur); | xsltFreeStylesheet (cur); | ||||
xmlFreeDoc (res); | xmlFreeDoc (res); | ||||
- malloc_trim (0); | - malloc_trim (0); | ||||
return (char *) doc_txt_ptr; | return (char *) doc_txt_ptr; | ||||
#else | #else |