nouveau: small oops

This commit is contained in:
Ben Skeggs 2008-01-20 23:20:42 +11:00
parent b56b3035f1
commit 4481c6c0b3

View file

@ -158,7 +158,7 @@ nouveau_destroy_buffer(__DRIdrawablePrivate * driDrawPriv)
{
struct nouveau_framebuffer *nvfb;
nvfb = (struct nouveau_framebuffer *)driDrawPriv;
nvfb = (struct nouveau_framebuffer *)driDrawPriv->driverPrivate;
st_unreference_framebuffer(&nvfb->stfb);
free(nvfb);
}