projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7191fc3
)
Plug a mem leak in the gdbus-connection test
author
Christian Persch
<chpe@gnome.org>
Tue, 17 Aug 2010 16:08:07 +0000
(18:08 +0200)
committer
Christian Persch
<chpe@gnome.org>
Tue, 17 Aug 2010 22:13:41 +0000
(
00:13
+0200)
Bug #627182.
gio/tests/gdbus-connection.c
patch
|
blob
|
history
diff --git
a/gio/tests/gdbus-connection.c
b/gio/tests/gdbus-connection.c
index
fc02746
..
3535f7d
100644
(file)
--- a/
gio/tests/gdbus-connection.c
+++ b/
gio/tests/gdbus-connection.c
@@
-871,8
+871,8
@@
test_connection_basic (void)
GDBusConnection *connection;
GError *error;
GDBusCapabilityFlags flags;
-
const
gchar *guid;
-
const
gchar *name;
+ gchar *guid;
+ gchar *name;
gboolean closed;
gboolean exit_on_close;
GIOStream *stream;
@@
-911,6
+911,8
@@
test_connection_basic (void)
g_object_unref (stream);
g_object_unref (connection);
+ g_free (name);
+ g_free (guid);
session_bus_down ();
}