Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
poor man's try to save some memory in actions. Does not seem very efficient, but...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 28 Jan 2010 15:51:06 +0000 (15:51 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 28 Jan 2010 15:51:06 +0000 (15:51 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7032 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_str.c

index a1a6da1..b075214 100644 (file)
@@ -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;
 }