diff options
Diffstat (limited to 'src/arm/test_exponential_backoff.c')
-rw-r--r-- | src/arm/test_exponential_backoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c index 0561c3ea8..7a552cc7c 100644 --- a/src/arm/test_exponential_backoff.c +++ b/src/arm/test_exponential_backoff.c | |||
@@ -214,7 +214,7 @@ do_nothing_service_shutdown (struct GNUNET_CLIENT_Connection *sock, | |||
214 | { | 214 | { |
215 | struct ShutdownContext *shutdown_ctx; | 215 | struct ShutdownContext *shutdown_ctx; |
216 | 216 | ||
217 | shutdown_ctx = GNUNET_malloc (sizeof (struct ShutdownContext)); | 217 | shutdown_ctx = GNUNET_new (struct ShutdownContext); |
218 | shutdown_ctx->cont = cont; | 218 | shutdown_ctx->cont = cont; |
219 | shutdown_ctx->cont_cls = cont_cls; | 219 | shutdown_ctx->cont_cls = cont_cls; |
220 | shutdown_ctx->sock = sock; | 220 | shutdown_ctx->sock = sock; |