diff --git a/src/fmenuitem.cpp b/src/fmenuitem.cpp index 0903c1a1..5d1c4c3c 100644 --- a/src/fmenuitem.cpp +++ b/src/fmenuitem.cpp @@ -795,6 +795,7 @@ void FMenuItem::createDialogList (FMenu* winmenu) catch (const std::bad_alloc& ex) { std::cerr << "not enough memory to alloc " << ex.what() << std::endl; + return; } if ( n < 9 )