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
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ _cogl_free_framebuffer_stack (GSList *stack)
|
|||
cogl_object_unref (entry->draw_buffer);
|
||||
|
||||
if (entry->read_buffer)
|
||||
cogl_object_unref (entry->draw_buffer);
|
||||
cogl_object_unref (entry->read_buffer);
|
||||
|
||||
g_slice_free (CoglFramebufferStackEntry, entry);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue