mem leak in config.c

This commit is contained in:
Dana Jansens 2010-09-24 17:00:40 -04:00
parent 001f174cf5
commit e737150701

View file

@ -370,7 +370,8 @@ static void parse_per_app_settings(xmlNodePtr node, gpointer d)
g_free(class); g_free(class);
g_free(role); g_free(role);
g_free(title); g_free(title);
name = class = role = title = NULL; g_free(type_str);
name = class = role = title = type_str = NULL;
} }
app = obt_xml_find_node(app->next, "application"); app = obt_xml_find_node(app->next, "application");