diff --git a/llarp/service/endpoint.cpp b/llarp/service/endpoint.cpp index 4446b243e..1fc207796 100644 --- a/llarp/service/endpoint.cpp +++ b/llarp/service/endpoint.cpp @@ -949,7 +949,10 @@ namespace llarp self->m_LocalIdentity)) llarp_logic_queue_job(self->logic, {self, &Result}); else + { llarp::LogError("failed to encrypt and sign"); + delete self; + } } };