After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660986 - memory leak in CoglPipeline::layers_cache
memory leak in CoglPipeline::layers_cache
Status: RESOLVED FIXED
Product: cogl
Classification: Platform
Component: CoglPipeline
1.8.x
Other Linux
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-10-05 13:28 UTC by Sunjin Yang
Modified: 2011-10-12 14:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix memory leak CoglPipeline::layers_cache (443 bytes, patch)
2011-10-05 13:28 UTC, Sunjin Yang
none Details | Review

Description Sunjin Yang 2011-10-05 13:28:37 UTC
Created attachment 198337 [details] [review]
fix memory leak CoglPipeline::layers_cache

In Cogl 1.8.0, there is memory leak in cogl-pipeline.c.

CoglPipeline::layers_cache is allocated but not freed in _cogl_pipeline_free().

I couldn't assure that the attached patch is right, but it works for me.
Comment 1 Robert Bragg 2011-10-12 14:31:09 UTC
thanks for catching this, I've pushed a patch to master and cherry-picked it onto the 1.8 branch too.