Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : free pointer
[simgrid.git] / src / xbt / mmalloc / mm_diff.c
index 53937b3..a47451f 100644 (file)
@@ -356,6 +356,7 @@ const char* get_addr_memory_map(void *addr, void* s_heap, void* r_heap){
     perror("fopen failed");
 
   if(addr == NULL){
+    free(line);
     fclose(fp);
     return "nil";
   }