ir: fix mem leak issue when probe [1/1]
authorQianggui Song <qianggui.song@amlogic.com>
Fri, 9 Aug 2019 07:53:05 +0000 (15:53 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 16 Aug 2019 02:45:39 +0000 (19:45 -0700)
commit97e2cf28cea9cf43503c70026fc332bf1eb3d8f7
treefea1b44154c928362834cc286ffcfbd4a73f0555
parent2b0050359c67bae55193b1af8cdfe13205e853d5
ir: fix mem leak issue when probe [1/1]

PD#SWPL-12483

Problem:
during probe stage, some unused mems are not be freed.

Solution:
free mem after using.

Verify:
gxl_p212

Change-Id: I24a91d81f0db9fb1edbab8f63b4e8c7f940d5947
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
drivers/amlogic/input/remote/remote_meson.c