diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-08-06 03:05:09 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-08-06 03:09:55 +0200 |
| commit | 7f5347897754164c9688d7e3d882411283c13a55 (patch) | |
| tree | 659c8c8a8c98d168a1641929bb3b95dac0d59200 /openbox/config.c | |
| parent | d5dc910d6dc4ca3ef0e808a18dbe91b6098266cf (diff) | |
Fix some memleaks
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/config.c b/openbox/config.c index 2bdd1966..1bf63e58 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -320,14 +320,14 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc, config_per_app_settings = g_slist_append(config_per_app_settings, (gpointer) settings); + g_free(name); + g_free(class); + g_free(role); + name = class = role = NULL; } app = parse_find_node("application", app->next); } - - g_free(name); - g_free(class); - g_free(role); } /* |
