commit | 278997a8e002ba1cedf132e86b12acf00137c28a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Sep 21 10:09:39 2016 -0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 26 08:24:45 2017 +0100 |
tree | 16399528cc7716442c2188039f3c2b2c173ae8a5 | |
parent | cec5ef6ac5202c79d0a95e65d41511a770e8607b [diff] |
gs1662: drop kfree for memory allocated with devm_kzalloc commit df94121f02ecce435d6b5277071eb94b764caa89 upstream. It's not necessary to free memory allocated with devm_kzalloc and using kfree leads to a double free. Fixes: 7aae6e2df127 ("[media] Add GS1662 driver, a video serializer") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>