diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-11 11:02:42 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-11 11:02:42 +0000 |
commit | 6af9f27166aefa0c253486f769fac428d8fdbc20 (patch) | |
tree | 9583da7b235dffc4bbc2c1952359d58439d30f75 /src/libutil/http.c | |
parent | 34b41a21d7b4bcca1f662b4bdbd8618397e10bb5 (diff) | |
download | rspamd-6af9f27166aefa0c253486f769fac428d8fdbc20.tar.gz rspamd-6af9f27166aefa0c253486f769fac428d8fdbc20.zip |
Fix couple of issues found by coverity scan
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r-- | src/libutil/http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index 21b763108..a5dcf6f03 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -431,6 +431,9 @@ rspamd_http_parse_key (rspamd_ftok_t *data, struct rspamd_http_connection *conn, priv->local_key, priv->msg->peer_key); } } + else { + rspamd_pubkey_unref (pk); + } } } |