Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: Fix memory leak in dvr_entry_create_()
  • Loading branch information
perexg committed Sep 19, 2014
1 parent b2d0156 commit 4a53de9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dvr/dvr_db.c
Expand Up @@ -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)
Expand Down

0 comments on commit 4a53de9

Please sign in to comment.