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
Use homogeneous dictionaries whenever possible.
[simgrid.git]
/
src
/
gras
/
DataDesc
/
ddt_parse.c
diff --git
a/src/gras/DataDesc/ddt_parse.c
b/src/gras/DataDesc/ddt_parse.c
index ab540b9ec159aeae69ae47c720fb3fc436e957d4..77f5d661c5975a02511c6c6aab803d08dd144b2f 100644
(file)
--- a/
src/gras/DataDesc/ddt_parse.c
+++ b/
src/gras/DataDesc/ddt_parse.c
@@
-811,5
+811,5
@@
void gras_datadesc_set_const(const char *name, int value)
int *stored = xbt_new(int, 1);
*stored = value;
- xbt_dict_set(gras_dd_constants, name, stored,
xbt_free_f
);
+ xbt_dict_set(gras_dd_constants, name, stored,
NULL
);
}