Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : init equal_to field to -1 for each allocated block/fragment at the...
[simgrid.git] / src / xbt / mmalloc / mrealloc.c
index c1078bdeaf32623026bae360e2a352b8e5ee1579..b9deaffddedd59f5c7ab50736307eb3e9ced9a64 100644 (file)
@@ -112,6 +112,8 @@ void *mrealloc(xbt_mheap_t mdp, void *ptr, size_t size)
       mdp->heaplimit = oldlimit;
 
       result = mmalloc_no_memset(mdp, requested_size);
+      //fprintf(stderr,"remalloc(%zu)~>%p\n",requested_size,result);
+
       if (ptr != result)
         memmove(result, ptr, blocks * BLOCKSIZE);
       /* FIXME: we should memset the end of the recently area */