diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-06 10:32:29 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-06 15:42:23 -0500 |
commit | 239ab461f72e50d830a984a790b7e5a2d1495c6a (patch) | |
tree | 4fcf7e4da66324df0aafa132e82b64e274eec099 /gatchat | |
parent | 2321230e69bde3301348cd195b83aee40a2813af (diff) | |
download | ofono-239ab461f72e50d830a984a790b7e5a2d1495c6a.tar.bz2 |
Fix refcounting in GAtChat
Diffstat (limited to 'gatchat')
-rw-r--r-- | gatchat/gatchat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index 15cc934c..d06b5008 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -913,6 +913,7 @@ GAtChat *g_at_chat_new(GIOChannel *channel, int flags) if (!chat) return chat; + chat->ref_count = 1; chat->next_cmd_id = 1; chat->next_notify_id = 1; chat->flags = flags; |