libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit f17357203dea2c4feb7f425a529a6a72536ab53b
parent ad19e7fe0adc99d5710eff1ed48d91a7b75a950e
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 12 Jul 2018 21:22:44 +0200

fix minor memory leak

Diffstat:
Msrc/main/extractor_plugins.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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);