use TAGMALLOC again

git-svn-id: file:///svn/tokudb@92 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Bradley C. Kuszmaul 2007-08-07 23:13:56 +00:00
parent 0344ea4ae8
commit 17fc9acfa8

View file

@ -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;