]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epg: eit - fix copy-n-paste bug, fixes #4946
authorJaroslav Kysela <perex@perex.cz>
Sun, 18 Feb 2018 10:26:29 +0000 (11:26 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 18 Feb 2018 10:26:29 +0000 (11:26 +0100)
src/epg.c

index 0bace9abce70d523328d7e11105bd866d0e2a5a6..348452abf3b0e455f6950e47df91495d870f5e11 100644 (file)
--- a/src/epg.c
+++ b/src/epg.c
@@ -837,7 +837,7 @@ static void _epg_broadcast_destroy ( void *eo )
     snprintf(id, sizeof(id), "%u", ebc->id);
     notify_delayed(id, "epg", "delete");
   }
-  if (ebc->title)       lang_str_destroy(ebc->summary);
+  if (ebc->title)       lang_str_destroy(ebc->title);
   if (ebc->subtitle)    lang_str_destroy(ebc->subtitle);
   if (ebc->summary)     lang_str_destroy(ebc->summary);
   if (ebc->description) lang_str_destroy(ebc->description);