avoid memory corruption
This commit is contained in:
parent
c069dfed58
commit
432ed9d9a6
1 changed files with 1 additions and 0 deletions
1
epg.c
1
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue