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 malloc instead of calloc because reset_f is called after the malloc
[simgrid.git]
/
src
/
surf
/
maxmin.c
diff --git
a/src/surf/maxmin.c
b/src/surf/maxmin.c
index
0c338e3
..
bdee4b2
100644
(file)
--- a/
src/surf/maxmin.c
+++ b/
src/surf/maxmin.c
@@
-132,7
+132,7
@@
void lmm_constraint_free(lmm_system_t sys, lmm_constraint_t cnst)
}
static void* lmm_variable_mallocator_new_f(void) {
- return xbt_new
0
(s_lmm_variable_t, 1);
+ return xbt_new(s_lmm_variable_t, 1);
}
static void lmm_variable_mallocator_free_f(void *var) {