Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : free pointers
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Sat, 2 Jun 2012 14:43:01 +0000 (16:43 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Sat, 2 Jun 2012 14:43:01 +0000 (16:43 +0200)
src/xbt/mmalloc/mm_diff.c

index 17dca5f..53937b3 100644 (file)
@@ -336,6 +336,8 @@ int mmalloc_compare_mdesc(struct mdesc *mdp1, struct mdesc *mdp2, void* s_heap,
 
   }
 
+  free(pointed_address1);
+  free(pointed_address2);
 
   return (errors);
 }