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 when using the parser
[simgrid.git]
/
src
/
msg
/
task.c
diff --git
a/src/msg/task.c
b/src/msg/task.c
index
af973f0
..
007160c
100644
(file)
--- a/
src/msg/task.c
+++ b/
src/msg/task.c
@@
-48,9
+48,11
@@
m_task_t MSG_task_create(const char *name, long double compute_duration,
simdata->sleeping = xbt_dynar_new(sizeof(m_process_t),NULL);
simdata->computation_amount = compute_duration;
simdata->message_size = message_size;
+ simdata->rate = -1.0;
simdata->using = 1;
simdata->sender = NULL;
+
return task;
}