Three or four instances of one simple memory leak. Allocating a union 'anything' to pass to add_menu(), then not doing anything with it. The value gets copied so there's no reason for the original to stick around. [There are still lots of other memory leaks.]
20 KiB
20 KiB