]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
en50221: fix invalid htsmsg manipulation
authorAnssi Hannula <anssi.hannula@iki.fi>
Sat, 11 May 2019 22:48:43 +0000 (01:48 +0300)
committerJaroslav Kysela <perex@perex.cz>
Mon, 20 May 2019 16:41:40 +0000 (18:41 +0200)
commitf033b21316cf7185e6189f4a751ba382117d13ed
treee6ed5662b4dd7263edcf00b17139c30fc5288948
parente0fad819003f67d4569ea189f2f48a53367c1bd5
en50221: fix invalid htsmsg manipulation

htsmsg_add_msg() frees the provided submsg and returns a new pointer to
it.

Fix code in getmenutext() to use the returned pointer instead of the
now invalid original pointer.
src/input/mpegts/en50221/en50221_apps.c