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:
parent
942456f646
commit
5e2582b381
|
@ -764,7 +764,6 @@ texstore_rgba(TEXSTORE_PARAMS)
|
||||||
tempRGBA = malloc(4 * elementCount * sizeof(float));
|
tempRGBA = malloc(4 * elementCount * sizeof(float));
|
||||||
if (!tempRGBA) {
|
if (!tempRGBA) {
|
||||||
free(tempImage);
|
free(tempImage);
|
||||||
free(tempRGBA);
|
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue