From: Jaroslav Kysela Date: Mon, 18 Apr 2016 13:57:47 +0000 (+0200) Subject: linuxdvb: fix another doc enum crash X-Git-Tag: v4.2.1~622 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2406ca9d674d1a106a4c2947c8f5f617ba4a2a7;p=thirdparty%2Ftvheadend.git linuxdvb: fix another doc enum crash --- diff --git a/src/input/mpegts/linuxdvb/linuxdvb_satconf.c b/src/input/mpegts/linuxdvb/linuxdvb_satconf.c index 0d0b4d84d..fe8f939c4 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_satconf.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_satconf.c @@ -1183,6 +1183,7 @@ static htsmsg_t * linuxdvb_satconf_ele_class_network_enum( void *o, const char *lang ) { linuxdvb_satconf_ele_t *ls = o; + if (ls == NULL) return NULL; return mpegts_input_class_network_enum(ls->lse_parent->ls_frontend, lang); }