OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
371bd8a
)
gobex: Remove potential write source in g_obex_unref
author
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 29 Jun 2011 21:25:58 +0000
(
00:25
+0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 4 Dec 2012 21:21:57 +0000
(22:21 +0100)
gobex/gobex.c
patch
|
blob
|
history
diff --git
a/gobex/gobex.c
b/gobex/gobex.c
index
267f61a
..
1556629
100644
(file)
--- a/
gobex/gobex.c
+++ b/
gobex/gobex.c
@@
-556,6
+556,9
@@
void g_obex_unref(GObex *obex)
if (obex->io_source > 0)
g_source_remove(obex->io_source);
+ if (obex->write_source > 0)
+ g_source_remove(obex->write_source);
+
g_free(obex->rx_buf);
g_free(obex->tx_buf);