diff --git a/openbox/openbox.c b/openbox/openbox.c index 39c02035..f723ffe2 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -207,7 +207,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_close(doc); parse_shutdown(i); }