Yi Wu de47e2bd4d Fix ClockCache memory leak
Summary:
Fix ClockCache memory leak found by valgrind:
# Add destructor to cleanup cached values.
# Delete key with cache handle immediately after handle is recycled, and erase table entry immediately if duplicated cache entry is inserted.

Test Plan:
    make DISABLE_JEMALLOC=1 valgrind_check

Reviewers: IslamAbdelRahman, sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D62973
2016-08-31 08:56:34 -07:00
..
2016-08-19 12:28:19 -07:00
2016-08-31 08:56:34 -07:00
2016-08-19 12:28:19 -07:00
2016-05-06 17:42:50 -07:00
2016-06-01 18:07:59 -07:00
2016-03-17 10:07:21 -07:00
2016-03-17 10:07:21 -07:00
2016-07-15 10:41:36 -07:00
2016-03-11 22:56:25 -08:00
2016-03-15 11:38:15 -07:00
2016-05-23 12:27:27 -07:00
2016-08-17 00:42:35 -07:00
2016-07-08 17:50:51 -07:00
2016-02-17 20:22:40 +08:00
2016-08-17 00:42:35 -07:00
2016-08-19 16:43:31 -07:00
2016-08-19 16:43:31 -07:00
2016-06-10 16:37:36 -07:00
2016-08-24 15:42:31 -07:00
2016-04-01 11:06:06 -07:00