]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
FileStore: fix resource leak in queue_transactions() blackhole case
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 1 Mar 2014 10:53:09 +0000 (11:53 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 1 Mar 2014 10:53:09 +0000 (11:53 +0100)
commit249e21079257fafe06d80c541f52751e8bf942b2
treeb594516635973ba0ed766bd6fbab35ab2492a005
parent3cd751b0a280909510c3e633cc8cd4b9f5e3b2d9
FileStore: fix resource leak in queue_transactions() blackhole case

CID 1135931 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable "ondisk" going out of scope leaks the storage it
 points to.

CID 1135932 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable "onreadable" going out of scope leaks the storage
 it points to.

CID 1135933 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable "onreadable_sync" going out of scope leaks the
 storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/os/FileStore.cc