From ddbc7fd44a20e62c5bed4a0952c7f2a65947613f Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 29 Nov 2013 14:13:14 +0400 Subject: [PATCH] gui/mediaplayer.cpp: fix memleak --- src/gui/mediaplayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/mediaplayer.cpp b/src/gui/mediaplayer.cpp index fd577a8ab..d1970c75e 100644 --- a/src/gui/mediaplayer.cpp +++ b/src/gui/mediaplayer.cpp @@ -262,6 +262,7 @@ int CMediaPlayerMenu::initMenuMedia(CMenuWidget *m, CPersonalizeGui *p) res = media->exec(NULL, ""); delete media; + delete moviePlayer; delete personalize; delete pictureviewergui; #if ENABLE_UPNP