Browse Source

[plugin_core] fix segfault in fetch.files_static init

Change-Id: Icbc8e1440ea35b80a25e600e4a1bd913cafc72f1
personal/stbuehler/wip
Stefan Bühler 4 years ago
parent
commit
e0e96ae377
  1. 2
      src/main/plugin_core.c

2
src/main/plugin_core.c

@ -2026,7 +2026,7 @@ static gboolean core_register_fetch_files_static(liServer *srv, liPlugin* p, liV
out:
if (NULL != basedir) g_string_free(basedir, TRUE);
if (NULL != subfile) g_string_free(basedir, TRUE);
if (NULL != subfile) g_string_free(subfile, TRUE);
if (NULL != prefix) g_string_free(prefix, TRUE);
if (NULL != suffix) g_string_free(suffix, TRUE);
if (NULL != filename) g_string_free(filename, TRUE);

Loading…
Cancel
Save