]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
add separator above "All desktops"
[chaz/openbox] / openbox / openbox.c
index 165d7229730c79859e2d854c0a1ef504a156db25..8e61fa86f729fa0fa96551eec2bc19da8d937446 100644 (file)
@@ -235,6 +235,7 @@ int main(int argc, char **argv)
         if (parse_load_rc(&doc, &node))
             parse_tree(i, doc, node->xmlChildrenNode);
         /* we're done with parsing now, kill it */
+        xmlFreeDoc(doc);
         parse_shutdown(i);
 
         menu_parse();
@@ -291,6 +292,10 @@ int main(int argc, char **argv)
     session_shutdown();
     g_free(ob_sm_id);
 
+#ifdef USE_LIBSN
+    sn_display_unref(ob_sn_display);
+#endif
+
     XCloseDisplay(ob_display);
 
     if (restart) {
This page took 0.020799 seconds and 4 git commands to generate.