daemon: fix leak after listing all volumes
authorJán Tomko <jtomko@redhat.com>
Fri, 12 Apr 2013 15:30:56 +0000 (17:30 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 16 May 2013 14:07:43 +0000 (16:07 +0200)
commit71e7f1392bbc42699b79adcbe8bb34d32cb8e442
tree6b2602e60580a33005d72db5afefc51fab62c70c
parenta36dbe64754a5088d6237e90c529baf92f798932
daemon: fix leak after listing all volumes

CVE-2013-1962

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.
(cherry picked from commit ca697e90d5bd6a6dfb94bfb6d4438bdf9a44b739)
daemon/remote.c