qt4: Don't create QMenu without parents
This patch ensures that _all_ menus/actions have got a parent widget that is guaranteed to be deleted. This patch - solves memory leaks for menus and action(children) - solves a side effect (crash) pointed out by 193e6eac where some vlc objects were no longer properly released for lack of a clean menus/actions release chain.
Showing
Please register or sign in to comment