From f17357203dea2c4feb7f425a529a6a72536ab53b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 12 Jul 2018 21:22:44 +0200 Subject: fix minor memory leak --- src/main/extractor_plugins.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main/extractor_plugins.c b/src/main/extractor_plugins.c index 8dc53d2..0fa10d6 100644 --- a/src/main/extractor_plugins.c +++ b/src/main/extractor_plugins.c @@ -368,6 +368,8 @@ EXTRACTOR_plugin_remove (struct EXTRACTOR_PluginList *prev, if ( (NULL != pos->shm) && (0 == EXTRACTOR_IPC_shared_memory_change_rc_ (pos->shm, -1)) ) EXTRACTOR_IPC_shared_memory_destroy_ (pos->shm); + if (NULL != pos->short_libname) + free (pos->short_libname); if (NULL != pos->libname) free (pos->libname); free (pos->plugin_options); -- cgit v1.2.3