From 432ed9d9a69eb0cd7269190f1ddbc9f98ccb601c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Fri, 7 Dec 2007 10:36:08 +0000 Subject: [PATCH] avoid memory corruption --- epg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/epg.c b/epg.c index c73c9f8c..de2d5e12 100644 --- a/epg.c +++ b/epg.c @@ -227,6 +227,7 @@ check_overlap0(th_channel_t *ch, event_t *a) if(b->e_duration < 1) { epg_event_destroy(ch, b); + return 1; } } else { a->e_duration -= overshot;