Initialize wifi_handle (CID-1067456) 70/209470/2 accepted/tizen/unified/20190712.115330 submit/tizen/20190710.225804
authorCheoleun Moon <chleun.moon@samsung.com>
Mon, 8 Jul 2019 06:33:02 +0000 (15:33 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Mon, 8 Jul 2019 07:45:24 +0000 (16:45 +0900)
Change-Id: Icc330e20845f14e53372c09696e16491ea05f56b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
src/tech/asp-tech-infra.c

index 903a7a7..44dca7e 100644 (file)
@@ -336,7 +336,7 @@ gint32 asp_tech_infra_advertise(asp_service_advertise_s *service, gint32 replace
        gint32 mac_addr_len;
        gint32 port = 1234; /* TODO */
        gchar *if_name;
-       wifi_manager_h wifi_handle;
+       wifi_manager_h wifi_handle = NULL;
 
        ASP_LOGD("Infrastructure advertise service. replace: %d", replace);