diff options
author | Brian <[email protected]> | 2007-08-01 08:41:51 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-01 08:43:58 -0600 |
commit | f761c99d25aa71c4c761c1f876782a81c795fd5c (patch) | |
tree | 0579777fb9e265261f3fb7f4aeaf9d1dec57a930 | |
parent | e9fbf69aeab590d5f292a7ca6bdeb5d2791f9918 (diff) |
fix mem leak (bug 11793)
-rw-r--r-- | 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 878a148b397..592ac105428 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; } |