diff options
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index 165d7229..8e61fa86 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -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) { |
