diff options
Diffstat (limited to 'src/arm/arm_monitor_api.c')
-rw-r--r-- | src/arm/arm_monitor_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/arm_monitor_api.c b/src/arm/arm_monitor_api.c index 7b403fde8..676543f26 100644 --- a/src/arm/arm_monitor_api.c +++ b/src/arm/arm_monitor_api.c | |||
@@ -251,7 +251,7 @@ GNUNET_ARM_monitor (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
251 | { | 251 | { |
252 | struct GNUNET_ARM_MonitorHandle *h; | 252 | struct GNUNET_ARM_MonitorHandle *h; |
253 | 253 | ||
254 | h = GNUNET_malloc (sizeof (struct GNUNET_ARM_MonitorHandle)); | 254 | h = GNUNET_new (struct GNUNET_ARM_MonitorHandle); |
255 | h->cfg = GNUNET_CONFIGURATION_dup (cfg); | 255 | h->cfg = GNUNET_CONFIGURATION_dup (cfg); |
256 | h->currently_down = GNUNET_YES; | 256 | h->currently_down = GNUNET_YES; |
257 | h->reconnect_task = GNUNET_SCHEDULER_NO_TASK; | 257 | h->reconnect_task = GNUNET_SCHEDULER_NO_TASK; |