From 78382ce5e41e26d51126ccf38181408f90dfab2f Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 1 Jan 2012 19:12:28 +0100 Subject: [PATCH] soup-request-http: plug leak The content type of the request is never freed. https://bugzilla.gnome.org/show_bug.cgi?id=667099 --- libsoup/soup-request-http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsoup/soup-request-http.c b/libsoup/soup-request-http.c index d4a2c20..e42a20a 100644 --- a/libsoup/soup-request-http.c +++ b/libsoup/soup-request-http.c @@ -72,6 +72,8 @@ soup_request_http_finalize (GObject *object) if (http->priv->msg) g_object_unref (http->priv->msg); + g_free (http->priv->content_type); + G_OBJECT_CLASS (soup_request_http_parent_class)->finalize (object); } -- 2.7.4