diff options
author | Brian Paul <[email protected]> | 2014-01-31 09:52:10 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-01-31 09:52:11 -0700 |
commit | df21f31788f2dc610ac069b92e5ab652d7e78bcd (patch) | |
tree | fb36f789d98f14f76556c1be28cd3e2bbfd8f986 | |
parent | db8b6fb2dfcbbb7ae53371f2835aa08553b6f37d (diff) |
mesa: use _mesa_align_free() in _mesa_delete_buffer_object()
To match _mesa_align_malloc() call in _mesa_buffer_data().
Found by Colin Harrison <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
-rw-r--r-- | src/mesa/main/bufferobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index cde6ac2acaf..1f0c683f817 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -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; |