Fix valgrind error in c_test

This commit is contained in:
Igor Canadi 2014-08-18 11:08:51 -07:00
parent c7037153c3
commit a6fd14c881
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ int main(int argc, char** argv) {
CFV2PrefixExtractorInDomain, CFV2PrefixExtractorInRange,
CFV2PrefixExtractorName);
factory = rocksdb_compactionfilterfactoryv2_create(
NULL, prefix_extractor, CompactionFilterFactoryV2Destroy,
prefix_extractor, prefix_extractor, CompactionFilterFactoryV2Destroy,
CompactionFilterFactoryV2Create, CompactionFilterFactoryV2Name);
// Create new database
rocksdb_close(db);