From 1cbf45bd6ba6b0935c15e5b783ca6ec65a1e49cc Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 28 Jan 2010 15:51:06 +0000 Subject: [PATCH] poor man's try to save some memory in actions. Does not seem very efficient, but shouldn't harm git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7032 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/xbt_str.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xbt/xbt_str.c b/src/xbt/xbt_str.c index a1a6da17c5..b0752146d0 100644 --- a/src/xbt/xbt_str.c +++ b/src/xbt/xbt_str.c @@ -417,6 +417,7 @@ xbt_dynar_t xbt_str_split_quoted(const char *s) } } free(str_to_free); + xbt_dynar_shrink(res,0); return res; } -- 2.20.1