diff options
author | Devin Heitmueller | 2009-12-12 21:38:53 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2010-02-26 19:10:44 +0100 |
commit | 1a8e0e33881c9dd8cf3514bfd0b5a7ef148da929 (patch) | |
tree | a4c93083d474c6697fab74d411399dbd0c95eef6 /drivers/media/video/cx18/cx18-alsa-mixer.c | |
parent | V4L/DVB: cx18-alsa: remove a couple of warnings (diff) | |
download | kernel-qcow2-linux-1a8e0e33881c9dd8cf3514bfd0b5a7ef148da929.tar.gz kernel-qcow2-linux-1a8e0e33881c9dd8cf3514bfd0b5a7ef148da929.tar.xz kernel-qcow2-linux-1a8e0e33881c9dd8cf3514bfd0b5a7ef148da929.zip |
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>
Diffstat (limited to 'drivers/media/video/cx18/cx18-alsa-mixer.c')
0 files changed, 0 insertions, 0 deletions