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

Fix memory leak by freeing qwknode in sbbs_t dtor

I just happened to notice qwknode* in sbbs.h and was like: what is that? Oh, it's a realloced array created when parsing QWK routes. When is it freed? Oh, never.
parent 6edc0270
No related branches found
No related tags found
No related merge requests found
......@@ -3810,6 +3810,9 @@ sbbs_t::~sbbs_t()
FREE_AND_NULL(usrdirs);
FREE_AND_NULL(usrdir);
FREE_AND_NULL(qwknode);
total_qwknodes = 0;
listFree(&savedlines);
listFree(&smb_list);
listFree(&mouse_hotspots);
......
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