Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill the standard hooks of mmalloc: we will change the implementation directly, not...
[simgrid.git] / src / xbt / mmalloc / mfree.c
index 53e83ce..d86b0fe 100644 (file)
@@ -187,10 +187,6 @@ void mfree(void *md, void *ptr)
         break;
       }
     }
-    if (mdp->mfree_hook != NULL) {
-      mdp->mfree_hook(mdp, ptr);
-    } else {
-      __mmalloc_free(mdp, ptr);
-    }
+    __mmalloc_free(mdp, ptr);
   }
 }