Fixed memory leak

pull/22/head
SChernykh 2021-09-07 10:22:58 +02:00
parent 25772abc0f
commit ce8ec3860d
1 changed files with 1 additions and 0 deletions

View File

@ -616,6 +616,7 @@ void P2PServer::flush_cache()
if (err) {
LOGERR(1, "flush_cache: uv_queue_work failed, error " << uv_err_name(err));
delete work;
}
}