Skip to content

Commit

Permalink
s6sy761: fix memory leak from sec_ts_run_rawdata_all()
Browse files Browse the repository at this point in the history
chip_info->pFrame isn't freed.

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
  • Loading branch information
arter97 authored and acuicultor committed Sep 15, 2021
1 parent 1115a18 commit cf6010a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -3283,6 +3283,7 @@ void sec_ts_run_rawdata_all(void *chip_data, bool full_read)
out:
TPD_INFO("%s: done (noise:%d, wet:%d)##\n",
__func__, chip_info->touch_noise_status, chip_info->wet_mode);
kfree(chip_info->pFrame);

tp_touch_btnkey_release();

Expand Down

0 comments on commit cf6010a

Please sign in to comment.