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

[Cluster-devel] cluster/cman/cman_tool main.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rmccabe sourceware org	2007-08-15 19:39:56

Modified files:
	cman/cman_tool : main.c 

Log message:
	Fix a few (harmless) places where memory is allocated but not freed I stumbled onto hunting down something else.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/main.c.diff?cvsroot=cluster&r1=1.52&r2=1.53

--- cluster/cman/cman_tool/main.c	2007/02/19 14:04:36	1.52
+++ cluster/cman/cman_tool/main.c	2007/08/15 19:39:54	1.53
@@ -287,7 +287,7 @@
 			printf("\n");
 		}
 	}
-
+	cman_finish(h);
 }
 
 static int node_compare(const void *va, const void *vb)
@@ -413,6 +413,8 @@
 		}
 	}
 	free(nodes);
+	free(dis_nodes);
+	cman_finish(h);
 }
 
 static void show_services(void)


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