]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Delete onsafe 17877/head
authorJos Collin <jcollin@redhat.com>
Thu, 7 Sep 2017 07:11:40 +0000 (12:41 +0530)
committerNathan Cutler <ncutler@suse.com>
Thu, 21 Sep 2017 08:35:20 +0000 (10:35 +0200)
commitb0cacf2684bfe8c55282bb7defd54053dc7fa2e8
tree38c668aa5055b09269838bb9c527f422387c8576
parentf146b9f51da11e5698c7c4c9021635961b2790ad
client: Delete onsafe

Variable "onsafe" going out of scope leaks the storage it points to. This fixes the Coverity
Scan CID 1417473.

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit e24a91e9189587c800ef5709c78f1bc0e0ac8419)
src/client/Client.cc