Commit 57466df7 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

use TAGMALLOC again

git-svn-id: file:///svn/tokudb@92 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8135da9e
......@@ -304,10 +304,8 @@ int pmainternal_count_region (struct kv_pair *pairs[], int lo, int hi) {
}
int pma_create (PMA *pma, int (*compare_fun)(DB*,const DBT*,const DBT*)) {
struct pma *result;
int error;
result = toku_malloc(sizeof (struct pma));
TAGMALLOC(PMA, result);
if (result==0) return -1;
result->n_pairs_present = 0;
result->pairs = 0;
......
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