From ab967b2adc4ba58b12d90570e5bbe47b7488c663 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Fri, 11 Apr 2014 10:24:53 +0200 Subject: [PATCH] [mc] Remove buggy xbt_free --- src/xbt/mmalloc/mm_diff.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xbt/mmalloc/mm_diff.c b/src/xbt/mmalloc/mm_diff.c index 7258e6f1b3..874dbcb525 100644 --- a/src/xbt/mmalloc/mm_diff.c +++ b/src/xbt/mmalloc/mm_diff.c @@ -1157,11 +1157,9 @@ int compare_heap_area(void *area1, void* area2, mc_snapshot_t snapshot1, mc_snap // Remember (basic) type inference. // The current data structure only allows us to do this for the whole block. if (type != NULL && area1==real_addr_block1) { - xbt_free(state->types1[block1][0]); state->types1[block1][0] = type; } if (type != NULL && area2==real_addr_block2) { - xbt_free(state->types2[block2][0]); state->types2[block2][0] = type; } -- 2.20.1