summaryrefslogtreecommitdiff
authorBrian Paul <brianp@vmware.com>2014-01-31 16:52:10 (GMT)
committer Brian Paul <brianp@vmware.com>2014-01-31 16:52:11 (GMT)
commitdf21f31788f2dc610ac069b92e5ab652d7e78bcd (patch) (side-by-side diff)
treefb36f789d98f14f76556c1be28cd3e2bbfd8f986
parentdb8b6fb2dfcbbb7ae53371f2835aa08553b6f37d (diff)
downloadmesa-df21f31788f2dc610ac069b92e5ab652d7e78bcd.zip
mesa-df21f31788f2dc610ac069b92e5ab652d7e78bcd.tar.gz
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>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/mesa/main/bufferobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index cde6ac2..1f0c683 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;