GNOME Bugzilla – Bug 671985
cogl matrix stack has a use after realloc
Last modified: 2012-03-13 13:43:13 UTC
Created attachment 209606 [details] [review] proposed fix While valgrinding gnome-shell I noticed that cogl has a use after realloc in _cogl_matrix_stack_top_mutable After the g_array_set_size, it continues to use a pointer into the stack from state, however this pointer may no longer be valid after a reallocation has occured. I'm not 100% sure about my patch as I'm not fully sure how the stack works, so please review it.
thanks, I've pushed this to master as commit d42efa37415931f