summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-06-13 12:39:01 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-06-13 12:39:01 +0200
commit63afa288ccc950502ee32cff8a59f439bd2b1920 (patch)
treec492c43a6e6d88a79e6c78e4a52a3a9a12b107cd
parentd8db409a6c6d431504cd0a8825a306281bcd10a0 (diff)
Don't leak RestProxyCall::url
It's not freed when the call object is destroyed
-rw-r--r--rest/rest-proxy-call.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index 4af8dbc..3e3474b 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -148,6 +148,8 @@ rest_proxy_call_finalize (GObject *object)
g_free (priv->payload);
g_free (priv->status_message);
+ g_free (priv->url);
+
G_OBJECT_CLASS (rest_proxy_call_parent_class)->finalize (object);
}