menue: add missing delete

Origin commit data
------------------
Branch: ni/coolstream
Commit: 77643f3b3b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-25 (Mon, 25 Sep 2017)

Origin message was:
------------------
- menue: add missing delete

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-09-25 22:27:26 +02:00
committed by Jacek Jendrzej
parent 1c18f1eff5
commit edf0c893c7

View File

@@ -1208,6 +1208,7 @@ void CMenuWidget::calcSize()
*/ */
CMenuItem *separator = new CMenuSeparator(); CMenuItem *separator = new CMenuSeparator();
height += separator->getHeight(); height += separator->getHeight();
delete separator;
//scrollbar width //scrollbar width
scrollbar_width=0; scrollbar_width=0;