]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: Delete onsafe
authorJos Collin <jcollin@redhat.com>
Thu, 7 Sep 2017 07:11:40 +0000 (12:41 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 7 Sep 2017 07:11:44 +0000 (12:41 +0530)
commite24a91e9189587c800ef5709c78f1bc0e0ac8419
tree1bf8c63118829946346b6183715b9f05d250e161
parentc9994788ca4aaee5c6cb3090fc4a000ef1513a0b
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>
src/client/Client.cc