summaryrefslogtreecommitdiff
path: root/rest/rest-proxy.c
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2008-09-17 16:20:55 +0100
committerRoss Burton <ross@linux.intel.com>2008-09-17 16:20:55 +0100
commit6f8b7978ff107b94da880271c63f449aeab383fa (patch)
tree708608220a59df712103051aac8d045066fd9f71 /rest/rest-proxy.c
parentb070d27496a080da0d2d38154c13b8aeb9b86716 (diff)
downloadlibrest-6f8b7978ff107b94da880271c63f449aeab383fa.tar.gz
Free url and url_format in RestProxy finalize
Diffstat (limited to 'rest/rest-proxy.c')
-rw-r--r--rest/rest-proxy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rest/rest-proxy.c b/rest/rest-proxy.c
index c8b52e9..e533908 100644
--- a/rest/rest-proxy.c
+++ b/rest/rest-proxy.c
@@ -103,6 +103,11 @@ rest_proxy_dispose (GObject *object)
static void
rest_proxy_finalize (GObject *object)
{
+ RestProxyPrivate *priv = GET_PRIVATE (object);
+
+ g_free (priv->url);
+ g_free (priv->url_format);
+
if (G_OBJECT_CLASS (rest_proxy_parent_class)->finalize)
G_OBJECT_CLASS (rest_proxy_parent_class)->finalize (object);
}