From a0a64f556836a23953792d8ff46311834a719c0d Mon Sep 17 00:00:00 2001 From: degomme Date: Tue, 26 Apr 2016 01:58:03 +0200 Subject: [PATCH] leaks -- --- src/xbt/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/config.cpp b/src/xbt/config.cpp index 7578fbdfa5..20b6a5ea2c 100644 --- a/src/xbt/config.cpp +++ b/src/xbt/config.cpp @@ -255,7 +255,7 @@ void xbt_cfg_register_alias(const char *newname, const char *oldname) res = new s_xbt_cfgelm_t(); XBT_DEBUG("Register cfg alias %s -> %s)",oldname,newname); - res->desc = bprintf("Deprecated alias for %s",newname); + res->desc = std::string("Deprecated alias for ")+std::string(newname); res->type = xbt_cfgelm_alias; res->content = (xbt_dynar_t)newname; -- 2.20.1