]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_cls_statelog.cc: fix resource leak, delete op at end of function
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 22 Jul 2013 12:35:03 +0000 (14:35 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 22 Jul 2013 12:35:03 +0000 (14:35 +0200)
commit5f4f87b00e52bc4ba1b31bbfb3ecb69d259b51a9
tree46fa260578496c291e69e5677555fd6298a23139
parentfc1c1c6fdc63ae42d11704b980d7e11c8f28ae9a
test_cls_statelog.cc: fix resource leak, delete op at end of function

CID 1049214 (#13 of 13): Resource leak (RESOURCE_LEAK)
  leaked_storage: Variable "op" 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