diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/rspamdclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rspamdclient.c b/src/client/rspamdclient.c index 98b51506b..e8c0b959c 100644 --- a/src/client/rspamdclient.c +++ b/src/client/rspamdclient.c @@ -478,7 +478,7 @@ rspamd_client_destroy (struct rspamd_client_connection *conn) if (conn->req != NULL) { rspamd_client_request_free (conn->req); } - close (conn->fd); + if (conn->key) { rspamd_pubkey_unref (conn->key); } |