Commit 2d820def authored by Cosimo Cecchi's avatar Cosimo Cecchi

applicationwindow: fix mem leak

In the error path, code is leaking a ref to a GVariant.
parent 7d30e601
......@@ -471,6 +471,10 @@ add_accel_closure (gpointer data,
gtk_accel_group_connect_by_path (window->priv->accels, accel_path, &closure->closure);
else if (parameter)
g_variant_unref (parameter);
g_free (action_name);
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