commit | 8c8e1db8a83b1ce08e97f9d7fd686e925aa6de85 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 17 10:30:16 2018 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 17 10:30:16 2018 +0200 |
tree | bdfd37afb354e85b480cfeaa95f39049782fbf4f | |
parent | f5df3bbad7fb43e10f9194b6d98a4c87e856d3c4 [diff] [blame] |
plugins BUGFIX memory leak
diff --git a/src/plugins.c b/src/plugins.c index 4045fd5..eaee046 100644 --- a/src/plugins.c +++ b/src/plugins.c
@@ -318,6 +318,7 @@ name = strndup(file->d_name, len - LY_PLUGIN_SUFFIX_LEN); if (!name) { LOGMEM(NULL); + dlclose(dlhandler); free(str); return; }