mesa/st: Free st_translate with FREE macro.

To match CALLOC_STRUCT macro.

Fixes memory corruption on Windows when u_memory's memory debugging is
enabled.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Brian Paul 2015-04-17 15:14:23 +01:00 committed by Jose Fonseca
parent 8638e3ae1b
commit e050a19af8

View file

@ -5365,7 +5365,7 @@ out:
debug_printf("%s: translate error flag set\n", __func__);
}
free(t);
FREE(t);
}
return ret;