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:01:16 +0000 (16:01 +0200)
commit7d5e3f026603d7e6d78254e972332fdd6b234863
tree816b3d7527f2504ddb8e0eef3a6d3991deb516b0
parent8e2d8d19bd3a6ab1ebc75f1ab03674c1b7cd22cd
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