File b11a75dc-ifname_guest-cleanup.patch of Package libvirt.11695

From 937e70b804520c40240df0b70abddaf967599225 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
Date: Thu, 24 Jul 2014 13:51:02 +0200
Subject: [PATCH 01/17] Forgot to cleanup ifname_guest* in domain network def
 parsing

---
 src/conf/domain_conf.c | 2 ++
 1 file changed, 2 insertions(+)

Index: libvirt-1.2.5/src/conf/domain_conf.c
===================================================================
--- libvirt-1.2.5.orig/src/conf/domain_conf.c
+++ libvirt-1.2.5/src/conf/domain_conf.c
@@ -7100,6 +7100,8 @@ virDomainNetDefParseXML(virDomainXMLOpti
     VIR_FREE(address);
     VIR_FREE(port);
     VIR_FREE(ifname);
+    VIR_FREE(ifname_guest);
+    VIR_FREE(ifname_guest_actual);
     VIR_FREE(dev);
     virDomainActualNetDefFree(actual);
     VIR_FREE(script);