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:
706e636
)
GApplication: don't leak 'hint' on remote Open
author
Ryan Lortie
<desrt@desrt.ca>
Sun, 21 Apr 2013 14:55:40 +0000
(10:55 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 29 Apr 2013 20:39:55 +0000
(13:39 -0700)
We were using format string "s" to deconstruct the open hint into a
'const gchar *' which, of course, we never freed. Fix that.
gio/gapplicationimpl-dbus.c
patch
|
blob
|
history
diff --git
a/gio/gapplicationimpl-dbus.c
b/gio/gapplicationimpl-dbus.c
index
68b0d28
..
8c742bf
100644
(file)
--- a/
gio/gapplicationimpl-dbus.c
+++ b/
gio/gapplicationimpl-dbus.c
@@
-185,7
+185,7
@@
g_application_impl_method_call (GDBusConnection *connection,
GFile **files;
gint n, i;
- g_variant_get (parameters, "(@ass@a{sv})",
+ g_variant_get (parameters, "(@as
&
s@a{sv})",
&array, &hint, &platform_data);
n = g_variant_n_children (array);