summaryrefslogtreecommitdiffstats
path: root/main/libvirt/remoteDispatchStoragePoolListAllVolumes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libvirt/remoteDispatchStoragePoolListAllVolumes.patch')
-rw-r--r--main/libvirt/remoteDispatchStoragePoolListAllVolumes.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/main/libvirt/remoteDispatchStoragePoolListAllVolumes.patch b/main/libvirt/remoteDispatchStoragePoolListAllVolumes.patch
deleted file mode 100644
index 86de595df..000000000
--- a/main/libvirt/remoteDispatchStoragePoolListAllVolumes.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 08e817e91f44f947f8945115302100500b51ae22 Mon Sep 17 00:00:00 2001
-Message-Id: <08e817e91f44f947f8945115302100500b51ae22.1366126535.git.jtomko@redhat.com>
-From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
-Date: Fri, 12 Apr 2013 17:30:56 +0200
-Subject: [PATCH] daemon: fix leak after listing all volumes
-MIME-Version: 1.0
-Content-Type: text/plain; charset=utf-8
-Content-Transfer-Encoding: 8bit
-
-remoteDispatchStoragePoolListAllVolumes wasn't freeing the pool.
-The pool also held a reference to the connection, preventing it from
-getting freed and closing the netcf interface driver, which held two
-sockets open.
----
- daemon/remote.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/daemon/remote.c b/daemon/remote.c
-index 45c50f3..37f998f 100644
---- a/daemon/remote.c
-+++ b/daemon/remote.c
-@@ -4229,6 +4229,8 @@ cleanup:
- virStorageVolFree(vols[i]);
- VIR_FREE(vols);
- }
-+ if (pool)
-+ virStoragePoolFree(pool);
- return rv;
- }
-
---
-1.8.1.5
-