Commit 2e32477a authored by marko's avatar marko

branches/zip: dict_index_add_to_cache(): Always free the index object,

also when returning DB_CORRUPTION.
parent 87c59db2
...@@ -1460,6 +1460,7 @@ dict_index_add_to_cache( ...@@ -1460,6 +1460,7 @@ dict_index_add_to_cache(
if (!dict_index_find_cols(table, index)) { if (!dict_index_find_cols(table, index)) {
dict_mem_index_free(index);
return(DB_CORRUPTION); return(DB_CORRUPTION);
} }
......
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