diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_demux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_demux.c b/drivers/media/dvb/dvb-core/dvb_demux.c index b78cfb7d1897..a78408e76e75 100644 --- a/drivers/media/dvb/dvb-core/dvb_demux.c +++ b/drivers/media/dvb/dvb-core/dvb_demux.c | |||
@@ -1246,6 +1246,7 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux) | |||
1246 | dvbdemux->feed = vmalloc(dvbdemux->feednum * sizeof(struct dvb_demux_feed)); | 1246 | dvbdemux->feed = vmalloc(dvbdemux->feednum * sizeof(struct dvb_demux_feed)); |
1247 | if (!dvbdemux->feed) { | 1247 | if (!dvbdemux->feed) { |
1248 | vfree(dvbdemux->filter); | 1248 | vfree(dvbdemux->filter); |
1249 | dvbdemux->filter = NULL; | ||
1249 | return -ENOMEM; | 1250 | return -ENOMEM; |
1250 | } | 1251 | } |
1251 | for (i = 0; i < dvbdemux->filternum; i++) { | 1252 | for (i = 0; i < dvbdemux->filternum; i++) { |