Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reorganize mallocator.c, and add the possibility to disable mallocators.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 20 Jul 2011 15:02:15 +0000 (17:02 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 9 Nov 2011 15:14:41 +0000 (16:14 +0100)
commit088d5f86ef9b7a52516a31c8a2fa63049a540174
treef53649fa6cc785aeb1a3c219df95df8c427a5e75
parent85c342932c60954a7e1c9430742bfff2b28c31a8
Reorganize mallocator.c, and add the possibility to disable mallocators.

Memory leaks are sometimes hard to track when mallocators are in use.
Set MALLOCATOR_IS_WANTED to 0 to disable them during your debugging session.

The code for mallocator_new and mallocator_get is also made a bit cleaner.
src/xbt/mallocator.c