Increase a ref count for g_context 88/208388/1 accepted/tizen/unified/20190627.014829 submit/tizen/20190625.042852
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 24 Jun 2019 02:48:51 +0000 (11:48 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 24 Jun 2019 02:48:57 +0000 (11:48 +0900)
Change-Id: I1d7a4fb54d8b334ea3a7037c4ce20ba564a0e223

packaging/mobileap-agent.spec
src/mobileap_wifi.c

index 33f0c30..6165db5 100644 (file)
@@ -1,6 +1,6 @@
 Name: mobileap-agent
 Summary: Mobile AP daemon for setting tethering environments
-Version: 1.0.134
+Version: 1.0.135
 Release: 1
 Group: System/Network
 License: Apache-2.0
index 4ca2b8e..e87cd42 100755 (executable)
@@ -969,7 +969,7 @@ gboolean tethering_enable_wifi_tethering(Tethering *obj,
                        ret = MOBILE_AP_ERROR_INTERNAL;
                        goto DONE;
                }
-
+               g_object_ref(g_context);
                return TRUE;
        }
 #endif
@@ -982,7 +982,7 @@ gboolean tethering_enable_wifi_tethering(Tethering *obj,
                        ret = MOBILE_AP_ERROR_INTERNAL;
                        goto DONE;
                }
-
+               g_object_ref(g_context);
                return TRUE;
        }