diff options
author | Ross Burton <ross@linux.intel.com> | 2008-09-17 16:20:55 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2008-09-17 16:20:55 +0100 |
commit | 6f8b7978ff107b94da880271c63f449aeab383fa (patch) | |
tree | 708608220a59df712103051aac8d045066fd9f71 /rest/rest-proxy.c | |
parent | b070d27496a080da0d2d38154c13b8aeb9b86716 (diff) | |
download | librest-6f8b7978ff107b94da880271c63f449aeab383fa.tar.gz |
Free url and url_format in RestProxy finalize
Diffstat (limited to 'rest/rest-proxy.c')
-rw-r--r-- | rest/rest-proxy.c | 5 |
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); } |