Fixed memory leak in menuability (thanks to excessum)