Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : compare directly local variables found with DWARF and libunwind
[simgrid.git] / src / mc / memory_map.c
index 97f8bb81e9273088b2fd5b18a2f3a8e507176f52..25a49ca511360d7e739450a197224c29b28a987f 100644 (file)
@@ -152,3 +152,12 @@ memory_map_t get_memory_map(void)
 
   return ret;
 }
+
+void free_memory_map(memory_map_t map){
+
+  int i;
+  for(i=0; i< map->mapsize; i++){
+    xbt_free(map->regions[i].pathname);
+  }
+  xbt_free(map);
+}