summaryrefslogtreecommitdiff
path: root/plugins/placement
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/placement')
-rw-r--r--plugins/placement/history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/placement/history.c b/plugins/placement/history.c
index eeff1f63..27efa677 100644
--- a/plugins/placement/history.c
+++ b/plugins/placement/history.c
@@ -181,7 +181,7 @@ static void save_history()
xmlIndentTreeOutput = 1;
xmlSaveFormatFile(history_path, doc, 1);
- xmlFree(doc);
+ xmlFreeDoc(doc);
}
static void load_history()
@@ -236,7 +236,7 @@ static void load_history()
g_free(name); g_free(class); g_free(role);
node = parse_find_node("entry", node->next);
}
- xmlFree(doc);
+ xmlFreeDoc(doc);
}
void history_startup()