commit | 17571ed6e238ef1353595a87b40414d12b0e0275 | [log] [tgz] |
---|---|---|
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | Thu Jun 15 13:31:56 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Jun 20 08:53:41 2017 -0300 |
tree | beac9ed3f99e74bf2b0c2d4a8b70b1e0b2ad0daf | |
parent | 832d467115787472140fb254f24f17398aed8d39 [diff] |
[media] media: venus: vdec: fix compile error in vdec_close This fixes the following compile error ocured when building with gcc7: drivers/media/platform/qcom/venus/vdec.c:1022 vdec_close() error: dereferencing freed memory 'inst' by moving kfree as a last call. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>