From: Vsevolod Stakhov Date: Wed, 8 Oct 2014 15:41:08 +0000 (+0100) Subject: Remove extra ref of http connection on error. X-Git-Tag: 0.7.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c087234efccdf5d613ffe94f2ba6b1ddbbdf836f;p=thirdparty%2Frspamd.git Remove extra ref of http connection on error. --- diff --git a/src/libutil/http.c b/src/libutil/http.c index debbad7bcc..c2d103b4ef 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -723,7 +723,6 @@ rspamd_http_event_handler (int fd, short what, gpointer ud) else if (what == EV_TIMEOUT) { err = g_error_new (HTTP_ERROR, ETIMEDOUT, "IO timeout"); - rspamd_http_connection_ref (conn); conn->error_handler (conn, err); g_error_free (err);