mesa syncobj: don't store a pointer to the set_entry
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 8 Dec 2012 20:43:10 +0000 (12:43 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 10 Dec 2012 18:58:45 +0000 (10:58 -0800)
commit0151237457f47a43fa64111e462da851c4b8ab4c
tree31d52b758c996682aa87b1826433255fa3376ec2
parent8b6e782eb9bb91907c8ad6ac88365feca4a26d2e
mesa syncobj: don't store a pointer to the set_entry

The set_entry pointer can become invalid if the set table
is re-hashed.

This likely will fix
https://bugs.freedesktop.org/show_bug.cgi?id=58012
(Regression since 56e95d3c)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/mtypes.h
src/mesa/main/syncobj.c