free s to make valgrind happy
trim mnemo.h (only the interface)