st/mesa: don't unreference user attribs up front.
authorDave Airlie <airlied@redhat.com>
Thu, 9 Feb 2012 19:44:55 +0000 (19:44 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Feb 2012 10:33:06 +0000 (10:33 +0000)
commit72931ca4b9fb1002f5b62b74f7f7f32e94e80fde
treea89a196857875c1e04fdfbe9a4d9ef23b5d82e34
parentfd4a3d463c103192311aacc04f5f871f4a1035df
st/mesa: don't unreference user attribs up front.

postpone unreferences until end of function, as the ones in use will
get naturally dereferenced.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_draw.c