print-editor: Fix crash

We're trying to g_free a GFile, which is not good...
This commit is contained in:
Alexander Larsson
2020-05-13 10:18:17 +02:00
parent 8d9a3de65a
commit fcbc972c2a

View File

@@ -583,8 +583,7 @@ activate_new (GSimpleAction *action,
GVariant *parameter,
gpointer user_data)
{
g_free (filename);
filename = NULL;
g_clear_object (&filename);
set_text ("", 0);
}