diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2021-05-10 07:29:06 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2021-05-10 07:29:06 +0900 |
commit | 6ba26204779a03d85580226bcb11ff2b2a82dbeb (patch) | |
tree | 218cd51e3a3081d9acf84bb0a531433d8ab48d38 | |
parent | ea54a29e5229e9b1eb5bbbf4e5147928fc80272c (diff) | |
download | bluetooth-accepted/tizen_6.5_unified.tar.gz bluetooth-accepted/tizen_6.5_unified.tar.bz2 bluetooth-accepted/tizen_6.5_unified.zip |
Fix the svace issue (MEMORY_LEAK.EX)tizen_6.5.m2_releasesubmit/tizen_6.5/20211028.164101submit/tizen/20210606.233230accepted/tizen/unified/20210607.124351accepted/tizen/6.5/unified/20211028.224403tizen_6.5accepted/tizen_6.5_unified
Change-Id: I627f7149d4cdb75c3981f5a9c71e247b1f726b77
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | src/bt-main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bt-main.c b/src/bt-main.c index 37661d8..707891b 100644 --- a/src/bt-main.c +++ b/src/bt-main.c @@ -294,6 +294,9 @@ static void app_service(app_control_h service, void *data) ERR("service failed [%d]", ret); if (operation) free(operation); + + if (value) + free(value); return; } } |