print-editor: Fix crash
We're trying to g_free a GFile, which is not good...
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user