Fix coverity Issue CID-1693301 95/296195/2
authorAnjali Nijhara <a.nijhara@samsung.com>
Fri, 21 Jul 2023 11:06:39 +0000 (16:36 +0530)
committerAnjali Nijhara <a.nijhara@samsung.com>
Tue, 25 Jul 2023 04:34:12 +0000 (10:04 +0530)
Change-Id: Ia75402b4de99b31523f571a6200c8e4bc2210ef6

client/commands.c

index 0ea3733..b7316c5 100755 (executable)
@@ -698,6 +698,9 @@ static int tether_set_ssid(char *ssid, char *passphrase, int set_tethering, int
                return -ENXIO;
        }
 
+#if defined TIZEN_EXT
+       g_free(tether);
+#endif
        return -EINPROGRESS;
 }