Commit b47edb55 authored by Dave Wells's avatar Dave Wells Committed by Yoni Fogel

set freed value to NULL [t:2843]

git-svn-id: file:///svn/toku/tokudb@25708 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5bfc86d6
......@@ -87,7 +87,10 @@ static void
free_indexer_resources(DB_INDEXER *indexer) {
if ( indexer->i ) {
if ( indexer->i->lec ) { le_cursor_close(indexer->i->lec); }
if ( indexer->i->fnums ) { toku_free(indexer->i->fnums); }
if ( indexer->i->fnums ) {
toku_free(indexer->i->fnums);
indexer->i->fnums = NULL;
}
indexer_release_refs(indexer);
// indexer->i
toku_free(indexer->i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment