I agree with the change.<br>The handle_error jump does require framebuffer.base to be initialized.<br><br>Doing the initialization at top of __glXDRIscreenProbe body is also a good idea - even if it could be initialized lower, doing it at top gives better chance of not repeating the mistake on further modifications.<br>
<br><div class="gmail_quote">2013/2/23 Piotr Dziwinski <span dir="ltr"><<a href="mailto:piotrdz@gmail.com" target="_blank">piotrdz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Fixes: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=59825" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=59825</a><br>
<br>
Signed-off-by: Piotr Dziwinski <<a href="mailto:piotrdz@gmail.com">piotrdz@gmail.com</a>><br>
---<br>
 glx/glxdri.c | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/glx/glxdri.c b/glx/glxdri.c<br>
index da46468..a997e2f 100644<br>
--- a/glx/glxdri.c<br>
+++ b/glx/glxdri.c<br>
@@ -971,6 +971,8 @@ __glXDRIscreenProbe(ScreenPtr pScreen)<br>
     size_t buffer_size;<br>
     ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);<br>
<br>
+    framebuffer.base = NULL;<br>
+<br>
     if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") ||<br>
         !DRIQueryDirectRenderingCapable(pScreen, &isCapable) || !isCapable) {<br>
         LogMessage(X_INFO,<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.3<br>
<br>
_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</font></span></blockquote></div><br>