From 4e66376e66e78d76891ca5c87716ab8003448ba1 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 13 Sep 2007 20:11:38 +0000 Subject: [PATCH] Fix memory leak (Coverty 702). This commit was SVN r16122. --- orte/tools/orterun/orterun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/orte/tools/orterun/orterun.c b/orte/tools/orterun/orterun.c index 75dce0981e..81fd22d3a9 100644 --- a/orte/tools/orterun/orterun.c +++ b/orte/tools/orterun/orterun.c @@ -402,6 +402,7 @@ int orterun(int argc, char *argv[]) */ if (ORTE_SUCCESS != (rc = orte_init(ORTE_INFRASTRUCTURE, ORTE_NON_BARRIER))) { ORTE_ERROR_LOG(rc); + free(apps); return rc; }