summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2017-08-16 09:22:30 (GMT)
committerNiraj Kumar Goit <niraj.g@samsung.com>2017-08-16 09:59:15 (GMT)
commitb5fc09779a7aa3173b926e901e954d7246832b46 (patch)
tree56c2201f94ca0e75668fb6fee5996d27a0ff2582
parent49768e3fb3623e93dce860fca8469cde51902851 (diff)
downloadconnman-b5fc09779a7aa3173b926e901e954d7246832b46.zip
connman-b5fc09779a7aa3173b926e901e954d7246832b46.tar.gz
connman-b5fc09779a7aa3173b926e901e954d7246832b46.tar.bz2
Fix Svace Issue [WGID: 1348].refs/changes/51/144351/2
Change-Id: I8e1b366bc0973ec60ab24aa486c877b330b5de82 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-rwxr-xr-xsrc/technology.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/technology.c b/src/technology.c
index c43fc32..29707f9 100755
--- a/src/technology.c
+++ b/src/technology.c
@@ -1857,6 +1857,10 @@ int __connman_technology_add_rfkill(unsigned int index,
g_hash_table_insert(rfkill_list, GINT_TO_POINTER(index), rfkill);
done:
+#if defined TIZEN_EXT
+ /* Fix Svace Issue [WGID: 1348]. */
+ g_free(rfkill);
+#endif
technology = technology_get(type);
/* If there is no driver for this type, ignore it. */
if (!technology)