mesa/src
Eric Anholt 68f8cf7263 mesa: Don't check for image->Data when freeing an image's contents.
All driver implementations of FreeTextureImageBuffer already check
that Data != NULL and free it.  However, this means that we will also
free driver storage if the driver storage wasn't in the form of a Data
pointer.

This was produced by the following semantic patch:

@@
expression C;
expression T;
@@
- if (T->Data) {
- C->Driver.FreeTextureImageBuffer(C, T);
+ C->Driver.FreeTextureImageBuffer(C, T);
- }

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-08-29 10:10:03 -07:00
..
egl egl: Use gbm/wayland flags regardless of egl_dri2 2011-08-29 09:34:20 +02:00
gallium i915g: remove unused var in i915_flush_heuristically() 2011-08-29 08:11:50 -06:00
gbm gbm/dri: avoid crash in dri_screen_create 2011-08-04 14:09:34 +02:00
getopt
glsl glcpp: Add GL_ARB_conservative_depth #define. 2011-08-25 13:14:24 -07:00
glu sgi: Fix MSVC build. 2011-04-27 19:06:07 +01:00
glx dri: Remove all DRI1 drivers 2011-08-26 23:31:22 -07:00
mapi mapi: Commit generated files modified by previous commit 2011-08-26 23:33:23 -07:00
mesa mesa: Don't check for image->Data when freeing an image's contents. 2011-08-29 10:10:03 -07:00
Makefile
SConscript Squashed commit of the following: 2011-07-14 17:35:05 +01:00