Diff between 371bd8adf6edee9a80413be98cef651fe627bcb4 and 16193c926d0fe2841d25130925bffc149d6c825d

Changed Files

File Additions Deletions Status
gobex/gobex.c +3 -0 modified

Full Patch

diff --git a/gobex/gobex.c b/gobex/gobex.c
index 267f61a..1556629 100644
--- 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);