diff options
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); + } } } |