]> Dogcows Code - chaz/openbox/commitdiff
mem leak in config.c
authorDana Jansens <danakj@orodu.net>
Fri, 24 Sep 2010 21:00:40 +0000 (17:00 -0400)
committerDana Jansens <danakj@orodu.net>
Mon, 24 Jan 2011 19:19:22 +0000 (14:19 -0500)
openbox/config.c

index 27316bbbe5825fc017bd92fd67bf6565a24f7913..3cd0b6ce1629454a0eaca6247d499467fd50a29c 100644 (file)
@@ -370,7 +370,8 @@ static void parse_per_app_settings(xmlNodePtr node, gpointer d)
             g_free(class);
             g_free(role);
             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");
This page took 0.026231 seconds and 4 git commands to generate.