projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2321230
)
Fix refcounting in GAtChat
author
Denis Kenzior
<denkenz@gmail.com>
Thu, 6 Aug 2009 15:32:29 +0000
(10:32 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 6 Aug 2009 20:42:23 +0000
(15:42 -0500)
gatchat/gatchat.c
patch
|
blob
|
history
diff --git
a/gatchat/gatchat.c
b/gatchat/gatchat.c
index
15cc934
..
d06b500
100644
(file)
--- 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;