From a6fd14c881fa72a7bfeb1e02ecd454a1e164597b Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 18 Aug 2014 11:08:51 -0700 Subject: [PATCH] Fix valgrind error in c_test --- db/c_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/c_test.c b/db/c_test.c index bb067f26c..065ea3423 100644 --- a/db/c_test.c +++ b/db/c_test.c @@ -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);