From: mquinson Date: Thu, 28 Jan 2010 15:51:06 +0000 (+0000) Subject: poor man's try to save some memory in actions. Does not seem very efficient, but... X-Git-Tag: SVN~701 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1cbf45bd6ba6b0935c15e5b783ca6ec65a1e49cc?ds=inline 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 --- 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; }