V4L/DVB (12489): pwc - fix few use-after-free and memory leaks

I just happen to peek inside the PWC driver and did not like what I saw
there. Please consider applying the patch below.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Dmitry Torokhov 2009-08-14 02:22:52 -03:00 • committed by Mauro Carvalho Chehab
commit 89dec01b7e
2 changed files with 36 additions and 43 deletions