mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
fix mem leak (bug 11793)
This commit is contained in:
parent
e9fbf69aea
commit
f761c99d25
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ pool_create(struct _DriBufferPool *pool,
|
|||
return NULL;
|
||||
|
||||
if ((alignment > pageSize) && (alignment % pageSize)) {
|
||||
free(buf);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue