Diff between 62ebf8d0f345e7722334d852cf7a010b202647e7 and ee215d601f057c9c26fbf2487230b829cefebabe

Changed Files

File Additions Deletions Status
obexd/client/bluetooth.c +3 -0 modified

Full Patch

diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c
index 0d91ea1..a22d717 100644
--- a/obexd/client/bluetooth.c
+++ b/obexd/client/bluetooth.c
@@ -160,6 +160,9 @@ static void session_destroy(struct bluetooth_session *session)
 		g_io_channel_unref(session->io);
 	}
 
+	if (session->sdp)
+		sdp_close(session->sdp);
+
 	if (session->conn)
 		dbus_connection_unref(session->conn);