0
0
mirror of https://github.com/cjdelisle/cjdns synced 2025-10-06 00:32:50 +02:00

Can't free this allocator because it causes dangling pointer

This commit is contained in:
Caleb James DeLisle
2024-09-19 08:41:45 +02:00
parent 9dd28f5b74
commit 6ab3c4e476

View File

@@ -533,7 +533,6 @@ static Err_DEFUN checkRunningInstance(struct Allocator* allocator,
EventBase_beginLoop(base);
Assert_true(ctx->res);
Allocator_free(alloc);
if (ctx->res->err != AdminClient_Error_TIMEOUT) {
Err_raise(allocator, "Startup failed: cjdroute is already running. [%d]", ctx->res->err);
}