Kosie van der Merwe
4d339d7462
Fixed memory leak in ShardedLRUCache
...
Summary: `~ShardedLRUCache()` was empty despite `init()` allocating memory on the heap. Fixed the leak by freeing memory allocated by `init()`.
Test Plan:
make check
Ran valgrind on db_test before and after patch and saw leaked memory went down
Reviewers: vamsi, dhruba, emayanke, sheki
Reviewed By: dhruba
CC: leveldb
Differential Revision: https://reviews.facebook.net/D7791
2013-01-08 11:24:15 -08:00
..
2012-11-06 14:07:31 -08:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-11-06 14:07:31 -08:00
2012-11-06 14:07:31 -08:00
2012-11-28 17:18:41 -08:00
2012-08-21 14:47:15 -07:00
2012-11-06 14:07:31 -08:00
2013-01-08 11:24:15 -08:00
2012-12-07 10:48:46 -08:00
2012-12-07 10:42:19 -08:00
2012-12-07 10:42:19 -08:00
2012-08-28 11:43:33 -07:00
2012-11-06 14:07:31 -08:00
2012-12-21 10:20:32 -08:00
2011-10-31 17:22:06 +00:00
2012-11-28 17:28:08 -08:00
2013-01-07 10:11:18 -08:00
2012-11-06 14:07:31 -08:00
2012-01-25 14:56:52 -08:00
2012-08-20 23:55:04 -07:00
2012-04-17 08:36:46 -07:00
2011-10-31 17:22:06 +00:00
2011-04-19 23:11:15 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-12-27 12:38:20 -08:00
2012-12-26 20:37:42 -08:00
2012-11-06 14:07:31 -08:00
2011-10-31 17:22:06 +00:00
2012-10-03 23:19:01 -07:00
2012-10-03 23:19:01 -07:00
2012-10-01 22:37:39 -07:00
2012-11-28 17:28:08 -08:00
2012-10-26 14:55:02 -07:00
2011-10-31 17:22:06 +00:00
2012-08-29 14:24:51 -07:00
2011-10-31 17:22:06 +00:00
2012-11-06 14:07:31 -08:00
2011-10-31 17:22:06 +00:00
2012-11-06 14:07:31 -08:00
2011-10-31 17:22:06 +00:00