From 122e3fade5f675db20e3047a1869a4d2a60fb073 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 15 Oct 2012 12:10:28 +0200 Subject: [PATCH] miscsettings_menu.cpp: fix segfault on ZEE/HD1 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/f85251128ca2bb52a2f9fd0cefa50c156bedf347 Author: Jacek Jendrzej Date: 2012-10-15 (Mon, 15 Oct 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/miscsettings_menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 409d0ddd4..f19fc3994 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -227,7 +227,8 @@ int CMiscMenue::showMiscSettingsMenu() int res = misc_menue.exec(NULL, ""); delete fanNotifier; delete sectionsdConfigNotifier; - delete miscNotifier; + if(cs_get_revision() > 7) + delete miscNotifier; return res; }