diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 9d7cd9f72..7ec68a0f6 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1208,6 +1208,7 @@ void CMenuWidget::calcSize() */ CMenuItem *separator = new CMenuSeparator(); height += separator->getHeight(); + delete separator; //scrollbar width scrollbar_width=0;