Skip to content
Snippets Groups Projects
Commit 78a5bdf9 authored by rswindell's avatar rswindell
Browse files

Remove problematic strList free in sbbs_get_js_settings() - this is causing the

exception in sbbsctrl, but the memory leak needs to be fixed.
parent bc6e7474
Branches
Tags
No related merge requests found
......@@ -135,8 +135,8 @@ void sbbs_get_js_settings(
js->gc_interval = iniGetInteger(list,section,strJavaScriptGcInterval ,defaults->gc_interval);
js->yield_interval = iniGetInteger(list,section,strJavaScriptYieldInterval ,defaults->yield_interval);
if(js->load_path != defaults->load_path)
iniFreeStringList(js->load_path);
// if(js->load_path != defaults->load_path) /* Memory leak, ToDo Fix! */
// iniFreeStringList(js->load_path);
if((load_path = iniGetStringList(list, section,strJavaScriptLoadPath,",",NULL)) == NULL)
load_path = defaults->load_path;
js->load_path = load_path;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment