mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
framebuffer-deprecated: Unref the correct buffer
Looks like a thinko introduced by commit
79719347c8
.
Found by a coverity scan.
https://bugzilla.gnome.org/show_bug.cgi?id=749111
This commit is contained in:
parent
c1d3811ba1
commit
eb87ad165c
@ -78,7 +78,7 @@ _cogl_free_framebuffer_stack (GSList *stack)
|
|||||||
cogl_object_unref (entry->draw_buffer);
|
cogl_object_unref (entry->draw_buffer);
|
||||||
|
|
||||||
if (entry->read_buffer)
|
if (entry->read_buffer)
|
||||||
cogl_object_unref (entry->draw_buffer);
|
cogl_object_unref (entry->read_buffer);
|
||||||
|
|
||||||
g_slice_free (CoglFramebufferStackEntry, entry);
|
g_slice_free (CoglFramebufferStackEntry, entry);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user