From: Adam Sutton Date: Fri, 25 May 2012 16:24:10 +0000 (+0100) Subject: Remove possible free() before data access. X-Git-Tag: 3.3~219^2~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82084da025d0d0076a85559f7e45369d73b88b7f;p=thirdparty%2Ftvheadend.git Remove possible free() before data access. --- diff --git a/src/epg.c b/src/epg.c index e2a6bd145..6fb320a86 100644 --- a/src/epg.c +++ b/src/epg.c @@ -1044,9 +1044,9 @@ static void _epg_channel_timer_callback ( void *p ) /* Expire */ if ( ebc->stop <= dispatch_clock ) { RB_REMOVE(&ec->schedule, eo, glink); - eo->putref(eo); tvhlog(LOG_DEBUG, "epg", "expire event %lu from %s", eo->id, ec->_.uri); + eo->putref(eo); continue; // skip to next /* No now */