Thread (4 messages) flat view 4 messages, 3 authors, 2011-07-28
STALE5493d

[PATCH] Fix mem leak in sap plugin

From: Arek Lichwa <hidden>
Date: 2011-07-15 11:38:31
Subsystem: the rest · Maintainer: Linus Torvalds

When dropping rfcomm channel to sap server, the component's channel
cleanup process doesn't release assigned glib channel resources.
---
 sap/server.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/sap/server.c b/sap/server.c
index c55aa6e..8bd8fe1 100644
--- a/sap/server.c
+++ b/sap/server.c
@@ -1122,7 +1122,6 @@ static void sap_io_destroy(void *data)
 				conn->state == SAP_STATE_GRACEFUL_DISCONNECT)
 			sap_disconnect_req(NULL, 1);
 
-		conn->io = NULL;
 		sap_conn_remove(conn);
 	}
 }
-- 
1.7.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help