mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
96842fc570
If texture allocation failed for a sliced 2D texture, the alloc() function would free the slices immediately, but not clear the pointer to the slices array. When the code attempting to allocate the texture then freed the texture object, the cleanup functions tried to free the slices array again, since it wasn't NULL. Fix this by clearing the slices array after freeing it. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1580 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1648> |
||
---|---|---|
.. | ||
cogl | ||
cogl-pango | ||
test-fixtures | ||
tests | ||
.gitignore | ||
cogl-config.h.meson | ||
cogl-mutter-config.h.in | ||
config-custom.h | ||
meson.build |