renaming and leak correction

Signed-off-by: Axel Davy <axel.davy@ens.fr>