mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
fix leak on sign/encrypt fail
This commit is contained in:
parent
b56d25730e
commit
b947e55616
@ -949,7 +949,10 @@ namespace llarp
|
|||||||
self->m_LocalIdentity))
|
self->m_LocalIdentity))
|
||||||
llarp_logic_queue_job(self->logic, {self, &Result});
|
llarp_logic_queue_job(self->logic, {self, &Result});
|
||||||
else
|
else
|
||||||
|
{
|
||||||
llarp::LogError("failed to encrypt and sign");
|
llarp::LogError("failed to encrypt and sign");
|
||||||
|
delete self;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user