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

also when returning DB_CORRUPTION.
This commit is contained in:
marko 2009-12-28 13:39:19 +00:00
parent 87c59db27a
commit 2e32477ad5

View file

@ -1460,6 +1460,7 @@ dict_index_add_to_cache(
if (!dict_index_find_cols(table, index)) {
dict_mem_index_free(index);
return(DB_CORRUPTION);
}