From: Jaroslav Kysela Date: Sun, 18 Feb 2018 19:52:33 +0000 (+0100) Subject: epg: fix epg_episode_match(), fixes #4944 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9f9efa91239f27ab5b3175d2773815fb6bd66cd;p=thirdparty%2Ftvheadend.git epg: fix epg_episode_match(), fixes #4944 --- diff --git a/src/epg.h b/src/epg.h index fc4ec0e99..1c675247a 100644 --- a/src/epg.h +++ b/src/epg.h @@ -445,6 +445,7 @@ size_t epg_broadcast_epnumber_format static inline int epg_episode_match(epg_broadcast_t *a, epg_broadcast_t *b) { if (a == NULL || b == NULL) return 0; + if (a->episodelink == NULL || b->episodelink == NULL) return 0; return a->episodelink == b->episodelink; }