]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/ceph.cc: cleanup memory allocated for 'buf'
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 13 May 2013 12:15:04 +0000 (14:15 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 14 May 2013 16:39:31 +0000 (18:39 +0200)
commiteac545e12cff6203bc46e77142bb1be2f466bf9c
treef650553287555a90ca747ac54606a9e959c89409
parentc3c140b38ce1a5a5ad5e316c50707f68e6bfe2ab
tools/ceph.cc: cleanup memory allocated for 'buf'

CID 717123 (#1-2 of 2): Resource leak (RESOURCE_LEAK)
  leaked_storage: Variable "buf" going out of scope leaks the storage
  it points to.

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