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 672243 - Drive by leak fix when code spelunking
Drive by leak fix when code spelunking
Status: RESOLVED FIXED
Product: cogl
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-03-16 16:33 UTC by Ray Strode [halfline]
Modified: 2012-03-16 16:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Drive by leak fix when code spelunking (878 bytes, patch)
2012-03-16 16:33 UTC, Ray Strode [halfline]
reviewed Details | Review

Description Ray Strode [halfline] 2012-03-16 16:33:00 UTC
I was reading through some code for a bug and just
happend to noticed this wasn't being freed.
Comment 1 Ray Strode [halfline] 2012-03-16 16:33:03 UTC
Created attachment 209940 [details] [review]
Drive by leak fix when code spelunking

_cogl_shader_compile_real spews a warning when
shader compilation fails if COGL_GL_DEBUG is
defined.  This warning is never freed.
Comment 2 Emmanuele Bassi (:ebassi) 2012-03-16 16:35:19 UTC
Review of attachment 209940 [details] [review]:

looks good to me