Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
94bcb4429b
The pipeline private data is accessed both from the private data set on a CoglPipeline and the destroy notify function of a weak material that the vertex buffer creates when it needs to override the wrap mode. However when a CoglPipeline is destroyed, the CoglObject code first removes all of the private data set on the object and then the CoglPipeline code gets invoked to destroy all of the weak children. At this point the vertex buffer's weak override destroy notify function will get invoked and try to use the private data which has already been freed causing a crash. This patch instead adds a reference count to the pipeline private data stuct so that we can avoid freeing it until both the private data on the pipeline has been destroyed and all of the weak materials are destroyed. http://bugzilla.clutter-project.org/show_bug.cgi?id=2544 |
||
---|---|---|
cogl | ||
doc | ||
pango | ||
Makefile.am |