DVR: Fix memory leak in dvr_entry_create_()
This commit is contained in:
parent
b2d01569aa
commit
4a53de9d76
1 changed files with 2 additions and 0 deletions
|
@ -473,10 +473,12 @@ dvr_entry_create_(const char *config_uuid, epg_broadcast_t *e,
|
|||
l = lang_str_create();
|
||||
lang_str_add(l, title, lang, 0);
|
||||
lang_str_serialize(l, conf, "title");
|
||||
lang_str_destroy(l);
|
||||
if (description) {
|
||||
l = lang_str_create();
|
||||
lang_str_add(l, description, lang, 0);
|
||||
lang_str_serialize(l, conf, "description");
|
||||
lang_str_destroy(l);
|
||||
}
|
||||
}
|
||||
if (content_type)
|
||||
|
|
Loading…
Add table
Reference in a new issue