# HG changeset patch
# User Sharad Mishra <snmishra(a)us.ibm.com>
# Date 1311624862 25200
# Node ID 87404863f9a402eb1a59ff717d93caa75c50b29c
# Parent 7cb42b369d3776c9d727402ba0198eea573d0d40
Fix connection leak introduced in patch 1119.
Signed-off-by: Sharad Mishra <snmishra(a)us.ibm.com>
diff -r 7cb42b369d37 -r 87404863f9a4 src/Virt_RASD.c
--- a/src/Virt_RASD.c Wed Jul 20 06:43:06 2011 -0700
+++ b/src/Virt_RASD.c Mon Jul 25 13:14:22 2011 -0700
@@ -349,6 +349,9 @@
(CMPIValue *)dev->dev.disk.cache,
CMPI_chars);
+ virStoragePoolFree(pool);
+ virStorageVolFree(vol);
+ virConnectClose(conn);
return s;
}