Commit e1f75d96 authored by Rich Prohaska's avatar Rich Prohaska

free -> toku_free. addresses #275

git-svn-id: file:///svn/tokudb@1678 c7de825b-a66e-492c-adef-691d508d4ae1
parent 05089a33
......@@ -940,7 +940,7 @@ static int verify_secondary_key(DB *secondary, DBT *pkey, DBT *data, DBT *skey)
#endif
if (skey->size != idx.size || memcmp(skey->data, idx.data, idx.size) != 0) r = DB_SECONDARY_BAD;
if (idx.flags & DB_DBT_APPMALLOC) {
free(idx.data);
toku_free(idx.data);
}
return r;
}
......@@ -1344,7 +1344,7 @@ static int do_associated_deletes(DB_TXN *txn, DBT *key, DBT *data, DB *secondary
} else
r = toku_db_del_noassociate(secondary, txn, &idx, DB_DELETE_ANY);
if (idx.flags & DB_DBT_APPMALLOC) {
free(idx.data);
toku_free(idx.data);
}
if (r!=0) return r;
return r2;
......
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