diff options
author | Samuel Just <sam.just@inktank.com> | 2013-05-16 12:49:35 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-05-16 15:45:42 -0700 |
commit | 5a27e85cf1b4af6e3ae5a276ad866d04e0b8f812 (patch) | |
tree | 90d86ef48272bb57ecf5c2358a80d3744ec15237 | |
parent | 604c83ff18f9a40c4f44bc8483ef22ff41efc8ad (diff) | |
download | ceph-5a27e85cf1b4af6e3ae5a276ad866d04e0b8f812.tar.gz |
Revert "test_filejournal.cc: cleanup memory in destructor"
The finish() method for Contexts calls delete this.
This reverts commit 36028916c4630ea66007760efed8fc6c441e7af5.
Fixes: #5075
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
-rw-r--r-- | src/test/test_filejournal.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/test_filejournal.cc b/src/test/test_filejournal.cc index 05bd4acb89e..7365e97dec0 100644 --- a/src/test/test_filejournal.cc +++ b/src/test/test_filejournal.cc @@ -52,8 +52,6 @@ public: cond.Wait(lock); //cout << "waited" << std::endl; lock.Unlock(); - if (c) - delete c; } }; |