commit | ab51bec1f852f6b858a26e745b32a79cd1a67eec | [log] [tgz] |
---|---|---|
author | Murali Karicheri <m-karicheri2@ti.com> | Mon Mar 01 19:54:02 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu May 06 19:19:02 2010 -0300 |
tree | 9715f24a8928ea93519a58bf1b1bea3f2ecdca7c | |
parent | b704e82a54591d69816b45f4324caf143f1a6fc8 [diff] |
V4L/DVB: V4L: vpfe_capture - free ccdc_lock when memory allocation fails This patch fixes a bug in vpfe_probe() that doesn't call mutex_unlock() if memory allocation for ccdc_cfg fails. See also the smatch warning report from Dan Carpenter that shows this as an issue. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>