diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-28 19:10:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-28 19:10:36 +0000 |
| commit | 700e551390a86ffdb92ddc061914ec7687658d18 (patch) | |
| tree | f896dc0c68f12503e17fd13dad3615242fb7f87d /openbox/openbox.c | |
| parent | 5baa7c802a500ee30fe9719f226d88923ee6e59d (diff) | |
fix a bunch of memleaks from valgrind and stuff
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) { |
