A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
poor man's try to save some memory in actions. Does not seem very efficient, but...
[simgrid.git]
/
src
/
xbt
/
xbt_str.c
diff --git
a/src/xbt/xbt_str.c
b/src/xbt/xbt_str.c
index
a1a6da1
..
b075214
100644
(file)
--- 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;
}