From 82084da025d0d0076a85559f7e45369d73b88b7f Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Fri, 25 May 2012 17:24:10 +0100 Subject: [PATCH] Remove possible free() before data access. --- src/epg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epg.c b/src/epg.c index e2a6bd14..6fb320a8 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 */