Core dump release : memory leaks everywhere