Blame SOURCES/libvirt-cim-0.6.3-605090b6.patch

9c78f5
From 605090b6a0a025afa3b1c1588c33fca68a30fa17 Mon Sep 17 00:00:00 2001
9c78f5
From: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
9c78f5
Date: Fri, 6 Sep 2013 14:09:56 +0200
9c78f5
Subject: [PATCH 14/60] xml_parse_test: Call cleanup_dominfo before exiting
9c78f5
9c78f5
This avoids misleading valgrind output running xml_parse_test.
9c78f5
9c78f5
Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
9c78f5
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
9c78f5
Signed-off-by: John Ferlan <jferlan@redhat.com>
9c78f5
---
9c78f5
 libxkutil/xml_parse_test.c | 2 ++
9c78f5
 1 file changed, 2 insertions(+)
9c78f5
9c78f5
diff --git a/libxkutil/xml_parse_test.c b/libxkutil/xml_parse_test.c
9c78f5
index af5e508..374bcf6 100644
9c78f5
--- a/libxkutil/xml_parse_test.c
9c78f5
+++ b/libxkutil/xml_parse_test.c
9c78f5
@@ -521,6 +521,8 @@ int main(int argc, char **argv)
9c78f5
                 return 4;
9c78f5
         }
9c78f5
 
9c78f5
+        cleanup_dominfo(&dominfo);
9c78f5
+
9c78f5
         return 0;
9c78f5
 }
9c78f5
 
9c78f5
-- 
9c78f5
2.1.0
9c78f5