Fix Svace Issue [WGID: 1348]. 51/144351/2
authorNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 16 Aug 2017 09:22:30 +0000 (14:52 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 16 Aug 2017 09:59:15 +0000 (15:29 +0530)
Change-Id: I8e1b366bc0973ec60ab24aa486c877b330b5de82
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/technology.c

index c43fc32..29707f9 100755 (executable)
@@ -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)