Fix a memleak. (unref ObtPaths)
authorMikael Magnusson <mikachu@comhem.se>
Fri, 25 Jan 2008 15:10:30 +0000 (16:10 +0100)
committerDana Jansens <danakj@orodu.net>
Thu, 31 Jan 2008 17:54:51 +0000 (12:54 -0500)
openbox/debug.c

index b441632..749bc32 100644 (file)
@@ -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);
 }