opentv: ensure that we can't double delete table
THis might happen if registering that the scan is complete removes the table.
This commit is contained in:
parent
d9b710ecf9
commit
e087621fed
1 changed files with 4 additions and 3 deletions
|
@ -478,15 +478,16 @@ done:
|
|||
mt2->mt_destroy = opentv_status_destroy;
|
||||
}
|
||||
}
|
||||
mpegts_table_destroy(mt);
|
||||
} else {
|
||||
tvhinfo(mt->mt_name, "summaries complete");
|
||||
mpegts_table_destroy(mt);
|
||||
if (ota)
|
||||
epggrab_ota_complete((epggrab_module_ota_t*)mod, ota);
|
||||
}
|
||||
} else {
|
||||
mpegts_table_destroy(mt);
|
||||
}
|
||||
|
||||
/* Remove table handler */
|
||||
mpegts_table_destroy(mt);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue