diff options
-rw-r--r-- | drivers/media/video/cx18/cx18-alsa-pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-alsa-pcm.c b/drivers/media/video/cx18/cx18-alsa-pcm.c index 05cb8f1753b5..e14f8e42a2ab 100644 --- a/drivers/media/video/cx18/cx18-alsa-pcm.c +++ b/drivers/media/video/cx18/cx18-alsa-pcm.c | |||
@@ -95,6 +95,7 @@ static int snd_cx18_pcm_capture_open(struct snd_pcm_substream *substream) | |||
95 | /* See if the stream is available */ | 95 | /* See if the stream is available */ |
96 | if (cx18_claim_stream(item, item->type)) { | 96 | if (cx18_claim_stream(item, item->type)) { |
97 | /* No, it's already in use */ | 97 | /* No, it's already in use */ |
98 | kfree(item); | ||
98 | return -EBUSY; | 99 | return -EBUSY; |
99 | } | 100 | } |
100 | 101 | ||