GNOME Bugzilla – Bug 710885
Two fixes for GApplication
Last modified: 2013-10-26 12:55:51 UTC
Found by code review.
Created attachment 258133 [details] [review] gapplication: fix memory leak g_variant_get_child_value() returns a new GVariant, which we must free.
Created attachment 258134 [details] [review] gapplication: don't emit warnings for DBus calls If a broken (or malicious) remote client calls Open or CommandLine on a GApplication that does not implement those, return a DBus error instead of going through and then emitting a warning.
Review of attachment 258133 [details] [review]: Obviously correct. Thanks.
Review of attachment 258134 [details] [review]: This indeed has always made me slightly uneasy, but I never really considered to bother fixing it. This is a nice cleanup. Thanks.
Attachment 258133 [details] pushed as 3e48e3b - gapplication: fix memory leak Attachment 258134 [details] pushed as 415c6d2 - gapplication: don't emit warnings for DBus calls