mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
try to fix segfault with --enable-cleanup
Origin commit data
------------------
Branch: ni/coolstream
Commit: e908858c19
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-02-17 (Fri, 17 Feb 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -118,17 +118,24 @@ CMoviePlayerGui::CMoviePlayerGui()
|
||||
|
||||
CMoviePlayerGui::~CMoviePlayerGui()
|
||||
{
|
||||
//playback->Close();
|
||||
if (this == instance_mp)
|
||||
stopPlayBack();
|
||||
delete moviebrowser;
|
||||
moviebrowser = NULL;
|
||||
delete filebrowser;
|
||||
filebrowser = NULL;
|
||||
delete bookmarkmanager;
|
||||
bookmarkmanager = NULL;
|
||||
delete playback;
|
||||
playback = NULL;
|
||||
if(moviebrowser){
|
||||
delete moviebrowser;
|
||||
moviebrowser = NULL;
|
||||
}
|
||||
if(filebrowser){
|
||||
delete filebrowser;
|
||||
filebrowser = NULL;
|
||||
}
|
||||
if(bookmarkmanager){
|
||||
delete bookmarkmanager;
|
||||
bookmarkmanager = NULL;
|
||||
}
|
||||
if(playback){
|
||||
delete playback;
|
||||
playback = NULL;
|
||||
}
|
||||
if (this == instance_mp) {
|
||||
delete instance_bg;
|
||||
instance_bg = NULL;
|
||||
|
Reference in New Issue
Block a user