- Fix memory leak - cfg is was free'd allocated in dvr_config_create - line 1218
This commit is contained in:
parent
8fd70d013f
commit
94be891496
1 changed files with 3 additions and 1 deletions
|
@ -1256,7 +1256,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