You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
872 B

From 605090b6a0a025afa3b1c1588c33fca68a30fa17 Mon Sep 17 00:00:00 2001
From: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Date: Fri, 6 Sep 2013 14:09:56 +0200
Subject: [PATCH 14/60] xml_parse_test: Call cleanup_dominfo before exiting
This avoids misleading valgrind output running xml_parse_test.
Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Signed-off-by: John Ferlan <jferlan@redhat.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;
}
--
2.1.0