]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix delete_scheduler_test valgrind error
authorIslam AbdelRahman <tec@fb.com>
Thu, 6 Aug 2015 17:56:00 +0000 (10:56 -0700)
committerIslam AbdelRahman <tec@fb.com>
Thu, 6 Aug 2015 17:56:00 +0000 (10:56 -0700)
commit40f893f4a9f4fcd9dd725884631b584b4db16579
tree2d9502ca68d71b87e9a8831ea284373031b99ee8
parent6a4aaadcd7dfc3aa65dbff183c0130cdd0bc1f8a
Fix delete_scheduler_test valgrind error

Summary: Use shared_ptr instead of deleting in destructor

Test Plan: DISABLE_JEMALLOC=1 make delete_scheduler_test -j64 && valgrind --error-exitcode=2 --leak-check=full ./delete_scheduler_test

Reviewers: yhchiang, sdong

Reviewed By: sdong

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D43659
util/delete_scheduler_test.cc