]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test_filejournal.cc: cleanup memory in destructor
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 13 May 2013 11:52:32 +0000 (13:52 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 14 May 2013 16:39:30 +0000 (18:39 +0200)
commit36028916c4630ea66007760efed8fc6c441e7af5
tree1e83bfc5832b501ff765083dc4a305690435db1a
parent7ea44ee06eb22eafde4a0bafd8752d4faa541313
test_filejournal.cc: cleanup memory in destructor

CID 716885 (#1 of 1): Resource leak in object (CTOR_DTOR_LEAK)
  alloc_new: Allocating memory by calling "new C_SafeCond(&this->lock,
    &this->cond, &this->done, NULL)".
  ctor_dtor_leak: The constructor allocates field "c" of "C_Sync" but
    the destructor and whatever functions it calls do not free it.

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