Fix: For now calling g_at_chat_unref is fine

Same as g_at_chat_shutdown in this case
This commit is contained in:
Denis Kenzior 2010-04-27 17:09:37 -05:00
parent 20a32ff5e8
commit b5f81f4012
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ static gboolean setup_ppp(struct ofono_gprs_context *gc)
GIOChannel *channel;
channel = g_at_chat_get_channel(gcd->chat);
g_at_chat_shutdown(gcd->chat);
g_at_chat_unref(gcd->chat);
/* open ppp */
gcd->ppp = g_at_ppp_new(channel);