Fix issue with unref of bssid 10/170810/1
authorJaehyun Kim <jeik01.kim@samsung.com>
Thu, 22 Feb 2018 08:25:51 +0000 (17:25 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Thu, 22 Feb 2018 08:26:32 +0000 (17:26 +0900)
Change-Id: I4e06af3112162339c3af44ac00c58900c1fbe981
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/network_dbus.c

index b5a19c75d43cbce78fa20ed6c4de3930f5070be7..2b54545b7bcbc00e75a98c931b75783a87ae5afd 100755 (executable)
@@ -2210,13 +2210,11 @@ int _net_dbus_set_bssid(char *bssid)
 
        if (message == NULL) {
                WIFI_LOG(WIFI_ERROR, "Failed to set bssid");
-               g_variant_unref(param0);
                __NETWORK_FUNC_EXIT__;
                return Error;
        }
 
        g_variant_unref(message);
-       g_variant_unref(param0);
 
        __NETWORK_FUNC_EXIT__;
        return Error;