+ xbt_assert0(new_f != NULL && free_f != NULL
+ && reset_f != NULL, "invalid parameter");
+
+ /* Let's force 0 size mallocator! (Dirty hack, blame Martin :) ) */
+
+ /* mallocators and memory mess introduced by model-checking do not mix well together:
+ * The mallocator will give standard memory when we are using raw memory (so these blocks are killed on restore)
+ * and the contrary (so these blocks will leak accross restores)
+ */
+ if (MC_IS_ENABLED)
+ size = 0;