mesa: remove unneeded free() call in texstore_rgba()

The pointer will always be NULL since that's what we just tested for.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
Brian Paul 2018-07-02 12:39:44 -06:00
parent 942456f646
commit 5e2582b381
1 changed files with 0 additions and 1 deletions

View File

@ -764,7 +764,6 @@ texstore_rgba(TEXSTORE_PARAMS)
tempRGBA = malloc(4 * elementCount * sizeof(float));
if (!tempRGBA) {
free(tempImage);
free(tempRGBA);
return GL_FALSE;
}