]> Dogcows Code - chaz/openbox/commitdiff
fix mem leak
authorDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 20:56:48 +0000 (20:56 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 14 Sep 2003 20:56:48 +0000 (20:56 +0000)
openbox/action.c
openbox/config.c

index 51de17daa3abb0d967d4dface847370ece400b1b..0a969a86607f69fe3356e7ae98f87bf7ed60975e 100644 (file)
@@ -800,6 +800,7 @@ void action_execute(union ActionData *data)
                 g_warning("failed to execute '%s': %s",
                           cmd, e->message);
             }
+            g_free(cmd);
         } else {
             g_warning("failed to convert '%s' from utf8", data->execute.path);
         }
index 42a9433d513620855eb4b5019d9d7c8d3b8f70a6..c840f83eb5a3efce28cf5fa66896d5df6accb931 100644 (file)
@@ -390,6 +390,8 @@ void config_shutdown()
 
     g_free(config_theme);
 
+    g_free(config_title_layout);
+
     for (it = config_desktops_names; it; it = g_slist_next(it))
         g_free(it->data);
     g_slist_free(config_desktops_names);
This page took 0.030374 seconds and 4 git commands to generate.