]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix crash when using matroska profile
authorFlole998 <Flole998@users.noreply.github.com>
Thu, 18 Feb 2021 21:11:59 +0000 (22:11 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Feb 2021 21:11:59 +0000 (22:11 +0100)
src/muxer/muxer_mkv.c

index 1c24eae5ef579b635ed9013ef37b43d1450b34f2..30f4f653d1809adeaf73299c536c3cd7609a1da7 100644 (file)
@@ -818,7 +818,6 @@ _mk_build_metadata(const dvr_entry_t *de, const epg_broadcast_t *ebc,
     lang = "eng";
     if ((langs = lang_code_split(NULL)) != NULL) {
       lang = tvh_strdupa(langs->codes[0]->code2b);
-      free((void*)langs);
     }
 
     addtag(q, build_tag_string("COMMENT", comment, lang, 0, NULL));