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
Plug a memleak (free is too robust to my stupidity)
[simgrid.git]
/
src
/
surf
/
surfxml_parse.cpp
diff --git
a/src/surf/surfxml_parse.cpp
b/src/surf/surfxml_parse.cpp
index
ddbb223
..
da1c63d
100644
(file)
--- a/
src/surf/surfxml_parse.cpp
+++ b/
src/surf/surfxml_parse.cpp
@@
-1051,7
+1051,7
@@
void surf_parse_close(void)
xbt_dynar_free(&surf_parsed_filename_stack);
if (surf_parsed_filename) {
char *dir = NULL;
- xbt_dynar_pop(surf_path, dir);
+ xbt_dynar_pop(surf_path,
&
dir);
free(dir);
}