mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
gpu: Set variable to NULL after freeing
Saw this while reviewing code.
This commit is contained in:
parent
60ddf7c421
commit
de2b10e46c
@ -70,7 +70,7 @@ gsk_gl_frame_cleanup (GskGpuFrame *frame)
|
||||
if (self->sync)
|
||||
{
|
||||
glClientWaitSync (self->sync, 0, -1);
|
||||
glDeleteSync (self->sync);
|
||||
g_clear_pointer (&self->sync, glDeleteSync);
|
||||
}
|
||||
|
||||
self->next_texture_slot = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user