mesa: Ensure gl_query_object is fully initialized.
authorVinson Lee <vlee@freedesktop.org>
Fri, 6 Sep 2013 19:27:11 +0000 (12:27 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 6 Sep 2013 21:51:51 +0000 (14:51 -0700)
commit0a0f543082ce3bbee3d09425a912a9181128a257
treeeae966107e38567b4336474be5e5bac3dad65c23
parente9f1f6ab42a7c466b3b6cb5460fcf875822c1dbd
mesa: Ensure gl_query_object is fully initialized.

278372b47e4db8a022d57f60302eec74819e9341 added the uninitialized pointer
field gl_query_object:Label. A free of this pointer resulted in a crash.

This patch fixes piglit regressions with swrast introduced by
6d8dd59cf53d2f47b817d79204a52bb3a46e8c77.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69047
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/queryobj.c