From f256dd60102c047a1a2ec00a162e0081d6e7f56e Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 28 Feb 2008 05:17:20 +0000 Subject: [PATCH] Don't free the node2_name it is not yet set at this point. This commit was SVN r17634. --- opal/mca/carto/file/carto_file_module.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/opal/mca/carto/file/carto_file_module.c b/opal/mca/carto/file/carto_file_module.c index 76d4465a45..a0fe16db9d 100755 --- a/opal/mca/carto/file/carto_file_module.c +++ b/opal/mca/carto/file/carto_file_module.c @@ -210,7 +210,6 @@ static int opal_carto_file_parse(const char *cartofile) opal_show_help("help-opal-carto-file.txt", "incorrect connection", true, cartofile, line_number, value); opal_argv_free (argv); free(node1_name); - free(node2_name); goto error; } opal_argv_free (argv); @@ -270,7 +269,6 @@ static int opal_carto_file_parse(const char *cartofile) opal_show_help("help-opal-carto-file.txt", "incorrect connection", true, cartofile, line_number, value); opal_argv_free (argv); free(node1_name); - free(node2_name); goto error; } opal_argv_free (argv);