menue: add missing delete

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8277f9f931
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
parent 6508f035a4
commit 3608379abe

View File

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