Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Do not execute MCer code in MCed mode in MC_remove_ignore_heap()
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 17 Apr 2015 13:51:05 +0000 (15:51 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 17 Apr 2015 13:51:05 +0000 (15:51 +0200)
src/mc/mc_ignore.cpp

index 1c4516b..1239c3c 100644 (file)
@@ -165,6 +165,7 @@ void MC_remove_ignore_heap(void *address, size_t size)
     message.addr = address;
     message.size = size;
     MC_client_send_message(&message, sizeof(message));
     message.addr = address;
     message.size = size;
     MC_client_send_message(&message, sizeof(message));
+    return;
   }
 
   xbt_mheap_t heap = mmalloc_set_current_heap(mc_heap);
   }
 
   xbt_mheap_t heap = mmalloc_set_current_heap(mc_heap);