From: Andreas Monzner Date: Sat, 2 Dec 2006 12:20:22 +0000 (+0000) Subject: fix possible segfault X-Git-Url: http://code.vuplus.com/gitweb/?a=commitdiff_plain;h=160d56b7d776e5f9232aab9e43336a35d1adc355;p=vuplus_dvbapp fix possible segfault --- diff --git a/lib/service/listboxservice.cpp b/lib/service/listboxservice.cpp index c9f0aed..bcd6342 100644 --- a/lib/service/listboxservice.cpp +++ b/lib/service/listboxservice.cpp @@ -482,7 +482,7 @@ void eListboxServiceContent::paint(gPainter &painter, eWindowStyle &style, const case celServiceInfo: { ePtr evt; - if ( !service_info->getEvent(*m_cursor, evt) ) + if ( service_info && !service_info->getEvent(*m_cursor, evt) ) { std::string name = evt->getEventName(); if (!name.length())