Fix a potential memory leak in menu/rmenu_xui.cpp in function rgui_init().