Commit c61c06e9 authored by Christian Hergert's avatar Christian Hergert
Browse files

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 3ce09af7
......@@ -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);
Supports Markdown
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