Commit 2ce933dc authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

end-session-dialog: free old inhibitor paths

parent 99d82311
......@@ -117,10 +117,13 @@ gf_inhibit_dialog_set_inhibitor_paths (GfInhibitDialog *dialog,
const gchar *const *paths)
{
GfInhibitDialogPrivate *priv;
gchar **old_inhibitors;
priv = gf_inhibit_dialog_get_instance_private (dialog);
old_inhibitors = priv->inhibitor_paths;
priv->inhibitor_paths = g_strdupv ((gchar **) paths);
g_strfreev (old_inhibitors);
if (priv->list_store == NULL)
return;
......
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