From 26f5e60937ccc5549170ad36d1ab0c7148dec045 Mon Sep 17 00:00:00 2001 From: Roland Baer Date: Wed, 1 Aug 2007 15:01:27 +0300 Subject: [PATCH] frees forgotten buffer --- src/mesa/drivers/dri/common/dri_drmpool.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/common/dri_drmpool.c b/src/mesa/drivers/dri/common/dri_drmpool.c index 878a148..592ac10 100644 --- a/src/mesa/drivers/dri/common/dri_drmpool.c +++ b/src/mesa/drivers/dri/common/dri_drmpool.c @@ -51,6 +51,7 @@ pool_create(struct _DriBufferPool *pool, return NULL; if ((alignment > pageSize) && (alignment % pageSize)) { + free(buf); return NULL; } -- 1.5.2.3