Always free image offsets memory when re-initializing texture image fields.
authorMichel Dänzer <daenzer@vmware.com>
Fri, 19 Jun 2009 09:19:08 +0000 (11:19 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Fri, 19 Jun 2009 16:00:33 +0000 (18:00 +0200)
commita120778c72324bc56c63cd0f1873c6f2772228ea
treeb27c04704115354cc4eca66bd17eeb1b538c1fe0
parent3cf92e936afbef91b856f064742f1bc2ad9e601a
Always free image offsets memory when re-initializing texture image fields.

Fixes leak running compiz with direct rendering.
src/mesa/main/mipmap.c
src/mesa/main/teximage.c
src/mesa/state_tracker/st_gen_mipmap.c