summaryrefslogtreecommitdiff
path: root/openbox/debug.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2008-01-25 16:10:30 +0100
committerDana Jansens <danakj@orodu.net>2008-01-31 12:54:51 -0500
commite0eb926ac20ca0e153c07c377206210c82a8768b (patch)
tree8d83c9eb55b97de4e07febbd2ab41863a7848957 /openbox/debug.c
parenta21840cbb7912c25abc1943c08d6980da7537a6c (diff)
Fix a memleak. (unref ObtPaths)
Diffstat (limited to 'openbox/debug.c')
-rw-r--r--openbox/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbox/debug.c b/openbox/debug.c
index b4416326..749bc32e 100644
--- a/openbox/debug.c
+++ b/openbox/debug.c
@@ -62,6 +62,7 @@ void ob_debug_startup(void)
g_log_set_handler("Openbox", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL |
G_LOG_FLAG_RECURSION, log_handler, NULL);
+ obt_paths_unref(p);
g_free(dir);
}