mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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:
parent
8638e3ae1b
commit
e050a19af8
1 changed files with 1 additions and 1 deletions
|
|
@ -5365,7 +5365,7 @@ out:
|
|||
debug_printf("%s: translate error flag set\n", __func__);
|
||||
}
|
||||
|
||||
free(t);
|
||||
FREE(t);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue