projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c2f195
)
soup-request-http: plug leak
author
Xan Lopez
<xan@igalia.com>
Sun, 1 Jan 2012 18:12:28 +0000
(19:12 +0100)
committer
Xan Lopez
<xan@igalia.com>
Wed, 4 Jan 2012 19:59:43 +0000
(20:59 +0100)
The content type of the request is never freed.
https://bugzilla.gnome.org/show_bug.cgi?id=667099
libsoup/soup-request-http.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-request-http.c
b/libsoup/soup-request-http.c
index
d4a2c20
..
e42a20a
100644
(file)
--- 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);
}