diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-06-12 12:27:13 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-06-12 12:27:13 +0000 |
commit | bf56b8beb103fa6caa0a0061a879486af89a0af6 (patch) | |
tree | 805b294248d1ad6d5fcffce9166bd323c1b8972d /linux/drivers | |
parent | a9991b9f2ed57dc9cef7a4bced44bdd029dd837f (diff) | |
download | mediapointer-dvb-s2-bf56b8beb103fa6caa0a0061a879486af89a0af6.tar.gz mediapointer-dvb-s2-bf56b8beb103fa6caa0a0061a879486af89a0af6.tar.bz2 |
In dvb_dmxdev_filter_start if we go out because of an error, release
previously allocated demux_feed.
Signed-off-by: Peter Beutner <p.beutner@gmx.net>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dmxdev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dmxdev.c b/linux/drivers/media/dvb/dvb-core/dmxdev.c index c225de7ff..1624f4be5 100644 --- a/linux/drivers/media/dvb/dvb-core/dmxdev.c +++ b/linux/drivers/media/dvb/dvb-core/dmxdev.c @@ -669,8 +669,10 @@ static int dvb_dmxdev_filter_start(struct dmxdev_filter *filter) ret = filter->feed.ts->start_filtering(filter->feed.ts); - if (ret < 0) + if (ret < 0) { + dmxdev->demux->release_ts_feed(dmxdev->demux, *tsfeed); return ret; + } break; } |