summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2021-07-08 14:43:35 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2021-07-08 14:43:35 +0900
commit5e70d399955a62ee2bfac214323afa1ba9ae2840 (patch)
treeb965576006039ad13ad7b999d27e35e80407e71a
parent9059b7b3da9472fca8de23657ce48f7425088761 (diff)
downloaduser-awareness-5e70d399955a62ee2bfac214323afa1ba9ae2840.tar.gz
user-awareness-5e70d399955a62ee2bfac214323afa1ba9ae2840.tar.bz2
user-awareness-5e70d399955a62ee2bfac214323afa1ba9ae2840.zip
Fix the memory leaksubmit/tizen/20210712.235633
Change-Id: Ic0c45298b82d7105ac45b2cbba1470a31c6de857 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rwxr-xr-xtests/test/uat-detections.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test/uat-detections.c b/tests/test/uat-detections.c
index 9227f11..65bfd0b 100755
--- a/tests/test/uat-detections.c
+++ b/tests/test/uat-detections.c
@@ -236,6 +236,8 @@ void _sensor_location_detected_cb(int result, ua_monitor_h monitor,
}
msg("Location distance: %d coordinates x: %d y: %d z: %d",
distance, x, y, z);
+
+ g_free(service_name);
}
void __ua_test_scan_completed_cb(ua_active_scan_type_e result,