[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/dlm-kernel/src lowcomms.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	pcaulfield sourceware org	2007-07-16 09:27:32

Modified files:
	dlm-kernel/src : lowcomms.c 

Log message:
	Cler & free 'othercon' struct in close_connection.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/src/lowcomms.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.22.2.8.4.2.2.3&r2=1.22.2.8.4.2.2.4

--- cluster/dlm-kernel/src/Attic/lowcomms.c	2007/02/07 15:25:04	1.22.2.8.4.2.2.3
+++ cluster/dlm-kernel/src/Attic/lowcomms.c	2007/07/16 09:27:32	1.22.2.8.4.2.2.4
@@ -316,6 +316,8 @@
 		   will only re-enter once.
 		*/
 		close_connection(con->othercon, FALSE);
+		kmem_cache_free(con_cache, con->othercon);
+		con->othercon = NULL;
 	}
 	if (con->rx_page) {
 		__free_page(con->rx_page);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]