Fix a memory leak in signal event handling. libevent's API is an ownership disaster.

This commit is contained in:
Ian Gulliver
2015-02-08 19:13:00 +00:00
parent 719a8ab1d8
commit 9a0449be5d
2 changed files with 4 additions and 2 deletions

View File

@@ -105,6 +105,7 @@ class CryptoPubServer : public CryptoBase {
struct event_base* event_base_;
struct evconnlistener* listener_;
struct event* sigevent_;
const SecretKey& secret_key_;
};