mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-22 10:24:31 +00:00
Fixed memory leak
This commit is contained in:
parent
25772abc0f
commit
ce8ec3860d
1 changed files with 1 additions and 0 deletions
|
@ -616,6 +616,7 @@ void P2PServer::flush_cache()
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
LOGERR(1, "flush_cache: uv_queue_work failed, error " << uv_err_name(err));
|
LOGERR(1, "flush_cache: uv_queue_work failed, error " << uv_err_name(err));
|
||||||
|
delete work;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue