1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Small memleak fixed

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@613 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-08-16 00:48:51 +00:00 committed by cras
parent 2e3a056110
commit 8dab451d18

View File

@ -91,7 +91,10 @@ CONFIG_NODE *config_node_traverse(CONFIG_REC *rec, const char *section, int crea
if (create) new_type = is_list ? NODE_TYPE_LIST : NODE_TYPE_BLOCK;
node = config_node_section(node, *tmp + is_list, new_type);
if (node == NULL) return NULL;
if (node == NULL) {
g_strfreev(list);
return NULL;
}
}
g_strfreev(list);