freebsd-ports/security/openvas/files/patch-src_pluginscheduler.c
Jose Alonso Cardenas Marquez 0cee80e007 - New port: security/openvas
This is the Open Vulnerability Assessment Scanner (OpenVAS) of the Greenbone
Vulnerability Management (GVM) Solution.

It is used for the Greenbone Security Manager appliances and is a full-featured
scan engine that executes a continuously updated and extended feed of Network
Vulnerability Tests (NVTs).

WWW: https://github.com/greenbone/openvas
2021-01-06 08:46:26 +00:00

29 lines
670 B
C

--- src/pluginscheduler.c 2020-08-11 07:00:25.000000000 -0500
+++ src/pluginscheduler.c 2021-01-04 18:10:12.943469000 -0500
@@ -33,7 +33,7 @@
#include <glib.h>
#include <gvm/base/prefs.h> /* for prefs_get() */
#include <gvm/util/nvticache.h> /* for nvticache_t */
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h> /* for strcmp() */
#undef G_LOG_DOMAIN
@@ -325,7 +325,7 @@
plugins_scheduler_free (ret);
return NULL;
}
- malloc_trim (0);
+// malloc_trim (0);
return ret;
}
@@ -427,7 +427,7 @@
element = element->next;
}
}
- malloc_trim (0);
+// malloc_trim (0);
}
struct scheduler_plugin *