[Cluster-devel] cluster/fence/agents/xvm virt.c
lhh at sourceware.org
lhh at sourceware.org
Mon Jul 30 16:14:18 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-07-30 16:14:18
Modified files:
fence/agents/xvm: virt.c
Log message:
Fix memory leak in virt.c
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/xvm/virt.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.3&r2=1.3.2.1
--- cluster/fence/agents/xvm/virt.c 2006/11/03 15:58:56 1.3
+++ cluster/fence/agents/xvm/virt.c 2007/07/30 16:14:18 1.3.2.1
@@ -108,6 +108,7 @@
/* We have all the locally running domains & states now */
/* Sort */
+ free(d_ids);
qsort(&vl->vm_states[0], vl->vm_count, sizeof(vl->vm_states[0]),
_compare_virt);
return vl;
More information about the Cluster-devel
mailing list