From e3ae1468d38cf3848c1ac78f1f0abf399f5ce841 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 12 Feb 2009 22:36:45 +0000 Subject: [PATCH] Don't strdup here; there's already a strdup down in param_set_override(). This commit was SVN r20533. --- opal/mca/base/mca_base_param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/base/mca_base_param.c b/opal/mca/base/mca_base_param.c index fdf28d4b3e..bca24772be 100644 --- a/opal/mca/base/mca_base_param.c +++ b/opal/mca/base/mca_base_param.c @@ -548,7 +548,7 @@ int mca_base_param_set_string(int index, char *value) mca_base_param_storage_t storage; mca_base_param_unset(index); - storage.stringval = strdup(value); + storage.stringval = value; param_set_override(index, &storage, MCA_BASE_PARAM_TYPE_STRING); return OPAL_SUCCESS; }