]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00285273-3 IPU dev:Remove unnecessary memset before kfree
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 29 Oct 2013 04:31:36 +0000 (12:31 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:56:15 +0000 (09:56 +0800)
commit0868f35e6c22a632015ac790766627f2bd3d0e69
tree49880e37428553b89ca337fa2149c6feeca50052
parentacbecc8056cd7804bfc41b0ad12d508e2c4c562c
ENGR00285273-3 IPU dev:Remove unnecessary memset before kfree

This patch removes unnecessary memset() before kfree().
Also, it fixes a potential NULL pointer dereference(writing
to a freed block of memory).

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/mxc/ipu3/ipu_device.c