Plug memory leak during index creation

main
Nik Bougalis 11 years ago
parent 4329d74e05
commit 0cd0ec4fe0
  1. 1
      utilities/document/document_db.cc

@ -736,6 +736,7 @@ class DocumentDBImpl : public DocumentDB {
CreateColumnFamily(ColumnFamilyOptions(rocksdb_options_),
InternalSecondaryIndexName(index.name), &cf_handle);
if (!s.ok()) {
delete index_obj;
return s;
}

Loading…
Cancel
Save