From 1ef13b7d0037040f6b05c0340fe72d1d414da0c4 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 2 Apr 2013 01:28:38 +0200 Subject: [PATCH] eventlist: fix delete of cc_infozone Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/825ec2f5cc339113a4c602c21646fc1487b1de76 Author: vanhofen Date: 2013-04-02 (Tue, 02 Apr 2013) Origin message was: ------------------ - eventlist: fix delete of cc_infozone --- src/gui/eventlist.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index ca9279da9..e8968dc1d 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -662,12 +662,11 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c } } - hide(); - fader.Stop(); - delete cc_infozone; cc_infozone = NULL; + hide(); + fader.Stop(); return res; }