compare-render: Don't unref an invalid GFile

We already unref it when the g_file_make_directory_with_parents fails.
This commit is contained in:
Timm Bäder 2019-07-07 07:23:05 +02:00
parent b062594ae6
commit 042f7d117f

View File

@ -44,8 +44,8 @@ get_output_dir (void)
}
g_error_free (error);
}
g_object_unref (file);
else
g_object_unref (file);
return output_dir;
}