diff --git a/src/defrag.c b/src/defrag.c index 8e69612909..f619638fa2 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -2411,14 +2411,14 @@ DefragTimeoutTest(void) int ret = 0; DefragContext *dc = NULL; - DefragInit(); - /* Setup a small numberr of trackers. */ if (ConfSet("defrag.trackers", "16", 1) != 1) { printf("ConfSet failed: "); goto end; } + DefragInit(); + dc = DefragContextNew(); if (dc == NULL) goto end;