Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: xml: Memory leak when free'ing xml documents

  • Loading branch information...
commit ca8234daf2bbb2d0fd2fb47cdbb6667f892081bb 1 parent 28fba1c
@beekhof authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/common/xml.c
View
3  lib/common/xml.c
@@ -326,6 +326,9 @@ pcmkDeregisterNode(xmlNodePtr node)
if(p) {
CRM_ASSERT(node->_private != NULL);
CRM_ASSERT(p->check == (long) 0x81726354);
+ if(p->deleted_paths) {
+ g_list_free_full(p->deleted_paths, free);
+ }
free(node->_private);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.