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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user