Fix valgrind error in c_test

main
Igor Canadi 10 years ago
parent c7037153c3
commit a6fd14c881
  1. 2
      db/c_test.c

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

Loading…
Cancel
Save