]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_cls_statelog.cc: fix resource leak, delete rop at end of function
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 22 Jul 2013 10:38:21 +0000 (12:38 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 22 Jul 2013 10:58:28 +0000 (12:58 +0200)
commitfc1c1c6fdc63ae42d11704b980d7e11c8f28ae9a
tree3c221b0965123b5b0e35130540f0ba4ddea140b6
parent8e8596d20179bd3ae0d93cbf84264fb15500db97
test_cls_statelog.cc: fix resource leak, delete rop at end of function

CID 1049215 (#12 of 12): 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