mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
17 lines
353 B
Diff
17 lines
353 B
Diff
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;
|
|
|