aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/texcompress_s3tc.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-09-04 15:49:46 +0200
committermarha <marha@users.sourceforge.net>2012-09-04 15:49:46 +0200
commitf2c10b20ce3f657c1f2013057602bb439816940f (patch)
tree4f86053b9b636d2d0174e229e79f2bb9d0a6f1a7 /mesalib/src/mesa/main/texcompress_s3tc.c
parentb3bc6204173252cae91fd40659c0eb01e4c75c99 (diff)
parent67c4614f29188e4af86e1d88ee82759c896b70b5 (diff)
downloadvcxsrv-f2c10b20ce3f657c1f2013057602bb439816940f.tar.gz
vcxsrv-f2c10b20ce3f657c1f2013057602bb439816940f.tar.bz2
vcxsrv-f2c10b20ce3f657c1f2013057602bb439816940f.zip
Merge remote-tracking branch 'origin/released'
Conflicts: libxcb/src/xcb_ext.c libxcb/src/xcb_xid.c mesalib/src/mesa/main/.gitignore mesalib/src/mesa/main/eval.c mesalib/src/mesa/main/imports.h mesalib/src/mesa/main/macros.h
Diffstat (limited to 'mesalib/src/mesa/main/texcompress_s3tc.c')
-rw-r--r--mesalib/src/mesa/main/texcompress_s3tc.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/mesalib/src/mesa/main/texcompress_s3tc.c b/mesalib/src/mesa/main/texcompress_s3tc.c
index c1984da66..215d7a385 100644
--- a/mesalib/src/mesa/main/texcompress_s3tc.c
+++ b/mesalib/src/mesa/main/texcompress_s3tc.c
@@ -207,8 +207,7 @@ _mesa_texstore_rgb_dxt1(TEXSTORE_PARAMS)
_mesa_warning(ctx, "external dxt library not available: texstore_rgb_dxt1");
}
- if (tempImage)
- free((void *) tempImage);
+ free((void *) tempImage);
return GL_TRUE;
}
@@ -260,8 +259,7 @@ _mesa_texstore_rgba_dxt1(TEXSTORE_PARAMS)
_mesa_warning(ctx, "external dxt library not available: texstore_rgba_dxt1");
}
- if (tempImage)
- free((void*) tempImage);
+ free((void*) tempImage);
return GL_TRUE;
}
@@ -312,8 +310,7 @@ _mesa_texstore_rgba_dxt3(TEXSTORE_PARAMS)
_mesa_warning(ctx, "external dxt library not available: texstore_rgba_dxt3");
}
- if (tempImage)
- free((void *) tempImage);
+ free((void *) tempImage);
return GL_TRUE;
}
@@ -364,8 +361,7 @@ _mesa_texstore_rgba_dxt5(TEXSTORE_PARAMS)
_mesa_warning(ctx, "external dxt library not available: texstore_rgba_dxt5");
}
- if (tempImage)
- free((void *) tempImage);
+ free((void *) tempImage);
return GL_TRUE;
}