From: Jaroslav Kysela Date: Wed, 6 Mar 2019 19:00:29 +0000 (+0100) Subject: eit: fix the possible NULL dereference X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c5e751b05018a2cb3764627c3a77b4a5d9e7ce;p=thirdparty%2Ftvheadend.git eit: fix the possible NULL dereference --- diff --git a/src/epggrab/module/eit.c b/src/epggrab/module/eit.c index 8aca5af08..e7cf7b5d4 100644 --- a/src/epggrab/module/eit.c +++ b/src/epggrab/module/eit.c @@ -1167,7 +1167,7 @@ static void _eit_install_handlers } } - if (!priv) + if (!priv || !map) return; epggrab_ota_free_eit_plist(om);