diff options
author | Chakradhar Pogiri <v.pogiri@samsung.com> | 2021-08-02 11:22:35 +0530 |
---|---|---|
committer | Chakradhar Pogiri <v.pogiri@samsung.com> | 2021-08-02 11:51:55 +0530 |
commit | 9aff8ae1ff30719a02c31ec8cd6595804505601a (patch) | |
tree | 2a1e2d5dedb1fd6099ca1493dd09d4af589c372c /src/lbs-setting.c | |
parent | 594738089be13237a091662e2c5cd26b748e7f02 (diff) | |
download | lbs-setting-tizen.tar.gz lbs-setting-tizen.tar.bz2 lbs-setting-tizen.zip |
Memory leak fixtizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.164101submit/tizen/20210802.070925accepted/tizen/unified/20210802.135703accepted/tizen/7.0/unified/hotfix/20221116.112100accepted/tizen/7.0/unified/20221110.062313accepted/tizen/6.5/unified/20211028.224517tizen_7.0_hotfixtizen_7.0tizen_6.5tizenaccepted/tizen_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
Change-Id: Id1e86e0e68d798642a7c0a90a295998fe3c02e3b
Diffstat (limited to 'src/lbs-setting.c')
-rw-r--r-- | src/lbs-setting.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lbs-setting.c b/src/lbs-setting.c index 18eda15..8669521 100644 --- a/src/lbs-setting.c +++ b/src/lbs-setting.c @@ -116,6 +116,11 @@ static void _app_control_cb(app_control_h app_control, void *user_data) elm_win_wm_rotation_available_rotations_set(ad->win_main, rots, 4); } + if (caller) { + free(caller); + caller = NULL; + } + /* LS_FUNC_EXIT */ } |