Skip to content
Snippets Groups Projects
Commit 26920170 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix small memory leak when loading lib "Auto-Add Subs" feature enabled

caught by valgrind
parent 54299568
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -287,6 +287,7 @@ void prep_cfg(scfg_t* cfg)
continue;
*cfg->dir[cfg->total_dirs++] = dir;
}
globfree(&g);
}
for(i=0;i<cfg->total_dirs;i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment