]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test_cls_statelog.cc: fix resource leak, delete 'rop' at end of function 456/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 22 Jul 2013 15:19:29 +0000 (17:19 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 22 Jul 2013 15:19:29 +0000 (17:19 +0200)
commitdb2850c5322b2219e016bf949c76195b12c81a04
tree330aae2f1f335da077dd6b394faae752f8af57e8
parent5f4f87b00e52bc4ba1b31bbfb3ecb69d259b51a9
test_cls_statelog.cc: fix resource leak, delete 'rop' at end of function

CID 1049213 (#3 of 3): Resource leak (RESOURCE_LEAK)
  leaked_storage: Variable "rop" going out of scope leaks the
  storage it points to.

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