summaryrefslogtreecommitdiff
path: root/src/experimentation/gnunet-daemon-experimentation_scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/experimentation/gnunet-daemon-experimentation_scheduler.c')
-rw-r--r--src/experimentation/gnunet-daemon-experimentation_scheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/experimentation/gnunet-daemon-experimentation_scheduler.c b/src/experimentation/gnunet-daemon-experimentation_scheduler.c
index a52d60c37..c13434e9b 100644
--- a/src/experimentation/gnunet-daemon-experimentation_scheduler.c
+++ b/src/experimentation/gnunet-daemon-experimentation_scheduler.c
@@ -330,7 +330,7 @@ GED_scheduler_add (struct Node *n, struct Experiment *e, int outbound)
return; /* End of experiment is reached */
/* Add additional checks here if required */
- se = GNUNET_malloc (sizeof (struct ScheduledExperiment));
+ se = GNUNET_new (struct ScheduledExperiment);
se->state = NOT_RUNNING;
se->outbound = outbound;
se->e = e;