mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 05:52:30 +01:00
16 lines
280 B
Diff
16 lines
280 B
Diff
diff --git a/src/manage_sql.c b/src/manage_sql.c
|
|
index b41e5c6..48e3fdb 100644
|
|
--- a/src/manage_sql.c
|
|
+++ b/src/manage_sql.c
|
|
@@ -15276,7 +15276,9 @@ update_nvti_cache ()
|
|
|
|
cleanup_iterator (&nvts);
|
|
|
|
- malloc_trim (0);
|
|
+#ifdef __GLIBC__
|
|
+ malloc_trim (0);
|
|
+#endif
|
|
}
|
|
|
|
/**
|