mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
mesa: use _mesa_align_free() in _mesa_delete_buffer_object()
To match _mesa_align_malloc() call in _mesa_buffer_data(). Found by Colin Harrison <colin.harrison@virgin.net> Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
db8b6fb2df
commit
df21f31788
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ _mesa_delete_buffer_object(struct gl_context *ctx,
|
|||
{
|
||||
(void) ctx;
|
||||
|
||||
free(bufObj->Data);
|
||||
_mesa_align_free(bufObj->Data);
|
||||
|
||||
/* assign strange values here to help w/ debugging */
|
||||
bufObj->RefCount = -1000;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue