diff options
author | Brian <[email protected]> | 2007-08-01 08:42:13 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-01 08:42:13 -0600 |
commit | ce7d175adb1c5c02c71e7bfeb078b108c3a78896 (patch) | |
tree | 310172a0ae2032b532323de807dc80055e02a52d /src | |
parent | 1904fd095fe1dc4699a0a97a6887d30d2ce53d80 (diff) |
fix mem leak (bug 11793)
Diffstat (limited to 'src')
-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; } |