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

Fix valgrind-reported memleak (on recycle), not freeing interfaces string list

(seeing a pattern here) :-)
parent b8d4452d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4171 passed
......@@ -1700,8 +1700,10 @@ static void cleanup(int code)
}
protected_uint32_destroy(threads_pending_start);
for(unsigned i = 0; i < services; i++)
for(unsigned i = 0; i < services; i++) {
protected_uint32_destroy(service[i].clients);
iniFreeStringList(service[i].interfaces);
}
FREE_AND_NULL(service);
services=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment