linux/drivers/media/video/cx18
Devin Heitmueller 1a8e0e3388 V4L/DVB: cx18-alsa: fix memory leak in error condition
If the stream is already in use, make sure we free up the memory allocated
earlier.

Thanks to Andy Wall for reviewing and pointing this out.

This work was sponsored by ONELAN Limited.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26 15:10:44 -03:00
..
cx18-alsa-main.c V4L/DVB: cx18-alsa: remove a couple of warnings 2010-02-26 15:10:44 -03:00
cx18-alsa-mixer.c V4L/DVB: cx18-alsa: Initial non-working cx18-alsa files 2010-02-26 15:10:42 -03:00
cx18-alsa-mixer.h V4L/DVB: cx18-alsa: Initial non-working cx18-alsa files 2010-02-26 15:10:42 -03:00
cx18-alsa-pcm.c V4L/DVB: cx18-alsa: fix memory leak in error condition 2010-02-26 15:10:44 -03:00
cx18-alsa-pcm.h V4L/DVB: cx18: overhaul ALSA PCM device handling so it works 2010-02-26 15:10:43 -03:00
cx18-alsa.h V4L/DVB: cx18: overhaul ALSA PCM device handling so it works 2010-02-26 15:10:43 -03:00
cx18-audio.c V4L/DVB (11624): cx18: Toggle the AI1 mux when changing the CX18_AUDIO_ENABLE register 2009-06-16 18:20:45 -03:00
cx18-audio.h V4L/DVB (10758): cx18: Convert I2C devices to v4l2_subdevices 2009-03-30 12:43:01 -03:00
cx18-av-audio.c V4L/DVB (11310): cx18: remove intermediate 'ioctl' step 2009-03-30 12:43:49 -03:00
cx18-av-core.c V4L/DVB (13478): cx18: remove bogus init call. 2009-12-05 18:42:05 -02:00
cx18-av-core.h tree-wide: fix misspelling of "definition" in comments 2009-12-04 23:41:47 +01:00
cx18-av-firmware.c V4L/DVB (11624): cx18: Toggle the AI1 mux when changing the CX18_AUDIO_ENABLE register 2009-06-16 18:20:45 -03:00
cx18-av-vbi.c V4L/DVB (11864): cx18: Complete support for Sliced and Raw VBI for 625 line systems 2009-06-16 18:21:14 -03:00
cx18-cards.c V4L/DVB (13912): cx18: Fix tuner reset pin in card entry for the Leadtek PVR2100 2010-02-26 15:10:30 -03:00
cx18-cards.h V4L/DVB (13445): cx18: Use per cx18 instance init data for ir-kbd-i2c instead of const data 2009-12-05 18:41:57 -02:00
cx18-controls.c V4L/DVB (12338): cx18: Read buffer overflow 2009-08-13 20:39:02 -03:00
cx18-controls.h V4L/DVB (8113): ivtv/cx18: remove s/g_ctrl, now all controls are handled through s/g_ext_ctrl 2008-07-20 07:12:23 -03:00
cx18-driver.c V4L/DVB: cx18: rework cx18-alsa module loading to support automatic loading 2010-02-26 15:10:43 -03:00
cx18-driver.h V4L/DVB: cx18: rework cx18-alsa module loading to support automatic loading 2010-02-26 15:10:43 -03:00
cx18-dvb.c V4L/DVB (13968): cx18, fix potential null dereference 2010-02-26 15:10:35 -03:00
cx18-dvb.h V4L/DVB (9720): cx18: Major rewrite of interrupt handling for incoming mailbox processing 2008-12-30 09:38:07 -02:00
cx18-fileops.c V4L/DVB: cx18: export a couple of symbols so they can be shared with cx18-alsa 2010-02-26 15:10:42 -03:00
cx18-fileops.h V4L/DVB: cx18: export a couple of symbols so they can be shared with cx18-alsa 2010-02-26 15:10:42 -03:00
cx18-firmware.c V4L/DVB (10757): cx18, v4l2-chip-ident: Finish conversion of AV decoder core to v4l2_subdev 2009-03-30 12:43:01 -03:00
cx18-firmware.h
cx18-gpio.c V4L/DVB (11380): v4l2-subdev: change s_routing prototype 2009-04-06 21:44:27 -03:00
cx18-gpio.h V4L/DVB (10759): cx18: Convert GPIO connected functions to act as v4l2_subdevices 2009-03-30 12:43:01 -03:00
cx18-i2c.c V4L/DVB (13445): cx18: Use per cx18 instance init data for ir-kbd-i2c instead of const data 2009-12-05 18:41:57 -02:00
cx18-i2c.h V4L/DVB (10758): cx18: Convert I2C devices to v4l2_subdevices 2009-03-30 12:43:01 -03:00
cx18-io.c V4L/DVB (9727): cx18: Adjust outgoing mailbox timeouts and remove statistics logging 2008-12-30 09:38:11 -02:00
cx18-io.h V4L/DVB (9778): cx18: cx18_writel_expect() should not declare success on a PCI read error 2008-12-30 09:38:20 -02:00
cx18-ioctl.c V4L/DVB (13908): cx18: Add initial working VIDIOC_G_ENC_INDEX ioctl() support 2010-02-26 15:10:30 -03:00
cx18-ioctl.h V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
cx18-irq.c V4L/DVB (9728): cx18: Copyright attribution update for files modified by awalls 2008-12-30 09:38:11 -02:00
cx18-irq.h V4L/DVB (9728): cx18: Copyright attribution update for files modified by awalls 2008-12-30 09:38:11 -02:00
cx18-mailbox.c V4L/DVB: cx18: overhaul ALSA PCM device handling so it works 2010-02-26 15:10:43 -03:00
cx18-mailbox.h Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2009-12-09 19:50:49 -08:00
cx18-queue.c V4L/DVB (13904): cx18: Fix TS and IDX stream buffer memory leak on module unload 2010-02-26 15:10:29 -03:00
cx18-queue.h V4L/DVB (13433): cx18: Remove duplicate list traversal when processing incoming MDLs 2009-12-05 18:41:53 -02:00
cx18-scb.c V4L/DVB (9895): cx18: Refine the firmware load and firmware startup process 2008-12-30 09:39:09 -02:00
cx18-scb.h V4L/DVB (13426): cx18: Rename struct cx18_mdl to struct cx18_mdl_ent 2009-12-05 18:41:50 -02:00
cx18-streams.c V4L/DVB: cx18: export more symbols required by cx18-alsa 2010-02-26 15:10:43 -03:00
cx18-streams.h V4L/DVB (13907): cx18: Perform automatic rotation of very old, unread IDX buffers 2010-02-26 15:10:30 -03:00
cx18-vbi.c V4L/DVB (13429): cx18: Add Memory Descriptor List (MDL) layer to buffer handling 2009-12-05 18:41:51 -02:00
cx18-vbi.h V4L/DVB (13429): cx18: Add Memory Descriptor List (MDL) layer to buffer handling 2009-12-05 18:41:51 -02:00
cx18-version.h V4L/DVB (13434): cx18: Bump version number due to significant buffer handling changes. 2009-12-05 18:41:54 -02:00
cx18-video.c V4L/DVB (11380): v4l2-subdev: change s_routing prototype 2009-04-06 21:44:27 -03:00
cx18-video.h
cx23418.h V4L/DVB (13910): cx18: Fix set indextable command to properly select I/P/B index entries 2010-02-26 15:10:30 -03:00
Kconfig V4L/DVB: cx18: add cx18-alsa module to Makefile 2010-02-26 15:10:43 -03:00
Makefile V4L/DVB: cx18: add cx18-alsa module to Makefile 2010-02-26 15:10:43 -03:00