avoid memory corruption

This commit is contained in:
Andreas Öman 2007-12-07 10:36:08 +00:00
parent c069dfed58
commit 432ed9d9a6

1
epg.c
View file

@ -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;