[librest] Don't leak RestProxyCall::url
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest] Don't leak RestProxyCall::url
- Date: Wed, 13 Jun 2012 10:58:38 +0000 (UTC)
commit 63afa288ccc950502ee32cff8a59f439bd2b1920
Author: Christophe Fergeau <cfergeau redhat com>
Date: Wed Jun 13 12:39:01 2012 +0200
Don't leak RestProxyCall::url
It's not freed when the call object is destroyed
rest/rest-proxy-call.c | 2 ++
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]