- Fix memory leak - cfg is was free'd allocated in dvr_config_create - line 1218
(cherry picked from commit 94be891496
)
This commit is contained in:
parent
a3a7e82ffd
commit
ed5e717a58
1 changed files with 3 additions and 1 deletions
|
@ -1229,7 +1229,9 @@ dvr_config_delete(const char *name)
|
|||
cfg->dvr_config_name);
|
||||
hts_settings_remove("dvr/config%s", cfg->dvr_config_name);
|
||||
LIST_REMOVE(cfg, config_link);
|
||||
dvrconfig_changed();
|
||||
free(cfg);
|
||||
|
||||
dvrconfig_changed();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue