Compare : add free_histogram

Signed-off-by: Jean-François Erdelyi <jean-francois.erdelyi@univ-tlse3.fr>