mesa: Ensure gl_sync_object is fully initialized.
authorVinson Lee <vlee@freedesktop.org>
Tue, 10 Sep 2013 00:28:35 +0000 (17:28 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 10 Sep 2013 17:54:26 +0000 (10:54 -0700)
commitfd66a85f6bd974150e112c0f7275190c1f55bf8f
tree9fe9e5d772d86d3e14254f6db87d5ec914b55ec8
parent49f2ba2cb07202b93955d15bc2bce2d4ae77bbf9
mesa: Ensure gl_sync_object is fully initialized.

278372b47e4db8a022d57f60302eec74819e9341 added the uninitialized pointer
field gl_sync_object:Label. A free of this pointer, added in commit
6d8dd59cf53d2f47b817d79204a52bb3a46e8c77, resulted in a crash.

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

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/syncobj.c