[libgdata/libgdata-0-7] core: Fix a memory leak in the URI handling code
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/libgdata-0-7] core: Fix a memory leak in the URI handling code
- Date: Fri, 10 Dec 2010 22:39:56 +0000 (UTC)
commit 36491c59007069b8b0d5dfd93e8fb71c82a4b2b5
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Dec 10 01:52:54 2010 +0000
core: Fix a memory leak in the URI handling code
gdata/gdata-service.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 7f2a85b..8b3dfd4 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -2188,6 +2188,7 @@ _gdata_service_build_uri (gboolean force_http, const gchar *format, ...)
fixed_uri = g_strdup_printf ("%s:%s", scheme, pieces[1]);
g_strfreev (pieces);
+ g_free (built_uri);
return fixed_uri;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]