diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-04-22 07:54:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-02 09:09:10 -0300 |
commit | d63b21bfa8afbce0872fdb7718d822c5fd0878ea (patch) | |
tree | 1593b156b13cab9147e7eccdb6481864139a05bd /Documentation/hwmon/lm95245 | |
parent | bcb2cf6e0bf033d79821c89e5ccb328bfbd44907 (diff) | |
download | talos-obmc-linux-d63b21bfa8afbce0872fdb7718d822c5fd0878ea.tar.gz talos-obmc-linux-d63b21bfa8afbce0872fdb7718d822c5fd0878ea.zip |
[media] drivers/media/video/au0828/au0828-video.c: add missing video_device_release
At the point of the call to video_register_device, both dev->vbi_dev and
dev->vdev have been allocated, and so should be freed on failure. The
error-handling code is moved to the end of the function, to avoid code
duplication.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/hwmon/lm95245')
0 files changed, 0 insertions, 0 deletions