From: Julia Lawall Date: Sun, 22 Apr 2012 10:54:42 +0000 (-0300) Subject: [media] drivers/media/video/au0828/au0828-video.c: add missing video_device_release X-Git-Tag: v3.5-rc1~104^2~375 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d63b21bfa8afbce0872fdb7718d822c5fd0878ea;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed