<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 7: It's better gdk_gl_context_finalize() destroys gl_context.</title><link>https://sourceforge.net/p/gtkglext/patches/7/</link><description>Recent changes to 7: It's better gdk_gl_context_finalize() destroys gl_context.</description><atom:link href="https://sourceforge.net/p/gtkglext/patches/7/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 28 May 2006 02:56:44 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gtkglext/patches/7/feed.rss" rel="self" type="application/rss+xml"/><item><title>It's better gdk_gl_context_finalize() destroys gl_context.</title><link>https://sourceforge.net/p/gtkglext/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We may cause memory leak if we only call&lt;br /&gt;
g_object_unref(gl_context) because&lt;br /&gt;
gdk_gl_context_finalize() doesn't call&lt;br /&gt;
_gdk_gl_context_destroy(). We can avoid the memory leak&lt;br /&gt;
by calling gdk_gl_context_destroy() instead of&lt;br /&gt;
g_object_unref() but this workaround has some problems.&lt;br /&gt;
* This isn't GLib-ish.&lt;br /&gt;
* We can't always call gdk_gl_context_destroy() for&lt;br /&gt;
doing unref gl_context. Someone may need gl_context.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kouhei Sutou</dc:creator><pubDate>Sun, 28 May 2006 02:56:44 -0000</pubDate><guid>https://sourceforge.neta3e57a13577c36cc5c198bb289a0dc5e9dd7498f</guid></item></channel></rss>