From a69d14d8ccfd9da393c59b1d91fae8193ba39d39 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 8 Mar 2017 08:01:50 +0000 Subject: community/greenbone-security-assistant: upgrade to 7.0.2 --- .../greenbone-security-assistant/001-malloc-trim.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/greenbone-security-assistant/001-malloc-trim.patch (limited to 'community/greenbone-security-assistant/001-malloc-trim.patch') diff --git a/community/greenbone-security-assistant/001-malloc-trim.patch b/community/greenbone-security-assistant/001-malloc-trim.patch new file mode 100644 index 0000000000..2d64f11178 --- /dev/null +++ b/community/greenbone-security-assistant/001-malloc-trim.patch @@ -0,0 +1,16 @@ +diff --git a/src/gsad_base.c b/src/gsad_base.c +index 15433f9..6500902 100644 +--- a/src/gsad_base.c ++++ b/src/gsad_base.c +@@ -312,8 +312,9 @@ xsl_transform_with_stylesheet (const char *xml_text, + + xsltFreeStylesheet (cur); + xmlFreeDoc (res); ++#ifdef __GLIBC__ + malloc_trim (0); +- ++#endif + return (char *) doc_txt_ptr; + #else + int content_fd; + -- cgit v1.2.3