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

Free ini string list in error path (no sectinos exist)

Fix CID 509721
parent 3bcf6174
No related branches found
No related tags found
No related merge requests found
......@@ -135,8 +135,10 @@ long import_msg_areas(enum import_list_type type, FILE* stream, int grpnum
if(ini == NULL)
return 0;
list = iniGetSectionList(ini, /* prefix: */NULL);
if(list == NULL)
if(list == NULL) {
strListFree(&ini);
return 0;
}
break;
default: // EchoLists (e.g. BACKBONE.NA, badareas.lst) and AREAS.BBS
new_sub_misc = SUB_FIDO;
......
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