- Fix memory leaks - Some fields in tda was not free'd. tda_rootpath, tda_fe_path, tda_demux_path and tda_dvr_path
(cherry picked from commit 21a622986f
)
This commit is contained in:
parent
ed5e717a58
commit
df70d4d62f
1 changed files with 4 additions and 0 deletions
|
@ -958,6 +958,10 @@ dvb_adapter_destroy(th_dvb_adapter_t *tda)
|
|||
free(tda->tda_identifier);
|
||||
free(tda->tda_displayname);
|
||||
free(tda->tda_fe_info);
|
||||
free((void*)tda->tda_rootpath); /* need cast because it's a const char* */
|
||||
free(tda->tda_fe_path);
|
||||
free(tda->tda_demux_path);
|
||||
free(tda->tda_dvr_path);
|
||||
|
||||
free(tda);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue