nouveau: don't keep stale pointer to free'd data
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 16 Aug 2014 06:46:01 +0000 (02:46 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 16 Aug 2014 21:52:54 +0000 (17:52 -0400)
commitef130b6050fc91c12a220f19d8bdd659712f7fb9
treecb78d9fe0aa3933b963b0ca8e17658367ecfa071
parent1f4bc0c95efdec0eac28ac3bcd2de54347e119cc
nouveau: don't keep stale pointer to free'd data

If ->sys is non-null, we might decide that it's where the data is
stored.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c