This avoids misleading valgrind output running xml_parse_test.
Signed-off-by: Viktor Mihajlovski <mihajlov(a)linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy(a)linux.vnet.ibm.com>
---
libxkutil/xml_parse_test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libxkutil/xml_parse_test.c b/libxkutil/xml_parse_test.c
index af5e508..374bcf6 100644
--- a/libxkutil/xml_parse_test.c
+++ b/libxkutil/xml_parse_test.c
@@ -521,6 +521,8 @@ int main(int argc, char **argv)
return 4;
}
+ cleanup_dominfo(&dominfo);
+
return 0;
}
--
1.7.9.5