Daniel van Vugt 1cb21877ed cogl-auto-texture: Avoid a double-free crash
If texture allocation fails (e.g. on an old GPU with size limit 2048)
then `cogl_texture_new_with_size` was trying to use the same CoglError
twice. The second time was after it had already been freed.

Bug reported and fix provided by Gert van de Kraats.

https://launchpad.net/bugs/1790525


(cherry picked from commit d21478b0f0163b0688abe065a7009b33453d0d00)
2019-01-23 23:54:31 +00:00
..
2017-02-15 23:54:07 +01:00