From df21f31788f2dc610ac069b92e5ab652d7e78bcd Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 31 Jan 2014 09:52:10 -0700 Subject: [PATCH] mesa: use _mesa_align_free() in _mesa_delete_buffer_object() To match _mesa_align_malloc() call in _mesa_buffer_data(). Found by Colin Harrison Signed-off-by: Brian Paul --- src/mesa/main/bufferobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2