Commit dec004fb authored by Christian Hergert's avatar Christian Hergert

shortcuts: release return value GValue

Make sure that we release the return value if there is any for the
call. In most cases there isn't.
parent 1a1d954f
......@@ -358,6 +358,9 @@ signal_activate (DzlShortcutClosureChain *chain,
g_value_unset (&params[i]);
g_free (params);
if (query.return_type != G_TYPE_NONE)
g_value_unset (&return_value);
return GDK_EVENT_STOP;
parameter_mismatch:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment