Remove possible free() before data access.

This commit is contained in:
Adam Sutton 2012-05-25 17:24:10 +01:00
parent fc6061bb43
commit 484ab9f99a

View file

@ -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 */