From: Jiri Denemark Date: Fri, 17 Jun 2016 07:40:32 +0000 (+0200) Subject: conf: Remove redundant free in virCPUDefFree X-Git-Tag: v2.0.0-rc1~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70a576899a43a29af12561842b059484d93c4af6;p=thirdparty%2Flibvirt.git conf: Remove redundant free in virCPUDefFree vendor_id is (and always was) already freed in virCPUDefFreeModel. This effectively reverts commit fb49ffc3. Signed-off-by: Jiri Denemark --- diff --git a/src/conf/cpu_conf.c b/src/conf/cpu_conf.c index 1ba1d8209b..7230b894ba 100644 --- a/src/conf/cpu_conf.c +++ b/src/conf/cpu_conf.c @@ -77,9 +77,6 @@ virCPUDefFree(virCPUDefPtr def) return; virCPUDefFreeModel(def); - - VIR_FREE(def->vendor_id); - VIR_FREE(def); }