]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/heap.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git] / src / xbt / heap.c
index 71a87a0a399e8153f5f47115094b2587d79d6f95..a91e006bf95fdcacad780e300b5e2fa044e64edc 100644 (file)
@@ -61,7 +61,7 @@ void xbt_heap_free(xbt_heap_t H)
   int i;
   if (H->free)
     for (i = 0; i < H->count; i++)
-      (*(H->free)) (H->items[i].content);
+      H->free(H->items[i].content);
   free(H->items);
   free(H);
   return;