From: Andreas Monzner Date: Wed, 7 Dec 2005 00:20:02 +0000 (+0000) Subject: fix allocateRAWChannel (we must first give free the cached channel) X-Git-Tag: 2.6.0~4805 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/77728f576114383a70a7126d88cd7b31e1588aa5 fix allocateRAWChannel (we must first give free the cached channel) --- diff --git a/lib/dvb/dvb.cpp b/lib/dvb/dvb.cpp index b1e8ad54..ac5c1a5e 100644 --- a/lib/dvb/dvb.cpp +++ b/lib/dvb/dvb.cpp @@ -363,6 +363,9 @@ RESULT eDVBResourceManager::allocateRawChannel(eUsePtr &channel, in { ePtr fe; + if (m_cached_channel) + m_cached_channel=0; + if (allocateFrontendByIndex(fe, frontend_index)) return errNoFrontend;