V4L/DVB (11393): radio-si470x: fix possible bug with freeing memory order
authorAlexey Klimov <klimov.linux@gmail.com>
Wed, 1 Apr 2009 00:01:04 +0000 (21:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:32 +0000 (21:44 -0300)
commit81d1d09f926394c19a19ceeb139462908ac63a01
tree82840fd1e9b61c39ec78598e12d47cb9d778fe84
parentb7732a32af3335454fd274d1b09375416336b5b1
V4L/DVB (11393): radio-si470x: fix possible bug with freeing memory order

Patch fixes cleanup procedure in si470x_usb_driver_probe. Add new label
err_video and change order of freeing memory.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-si470x.c