Signed-off-by: Jan Friesse <[email protected]>
---
 exec/totemconfig.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/exec/totemconfig.c b/exec/totemconfig.c
index 65a061b..62daeaf 100644
--- a/exec/totemconfig.c
+++ b/exec/totemconfig.c
@@ -536,6 +536,8 @@ extern int totem_config_read (
                ringnumber = atoi(ringnumber_key);
 
                if (ringnumber >= INTERFACE_MAX) {
+                       free(cluster_name);
+
                        snprintf (error_string_response, 
sizeof(error_string_response),
                            "parse error in config: interface ring number %u is 
bigger then allowed maximum %u\n",
                            ringnumber, INTERFACE_MAX - 1);
-- 
1.7.1

_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss

Reply via email to