Maybe, it's a problem with valgrind, if I run it with \--show-leak-kinds=all I 
can see the leak in both cases, even if is considered 'definitely lost' in the 
discard case and 'still reachable' in the let case (which still I do not fully 
understand but I will search on Valgrind documentation the difference)

Reply via email to