mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 03:30:22 +01:00
src/glu/mini: fix mem leak (bug 26559)
This commit is contained in:
parent
291bd19a1a
commit
d4d0629fcd
1 changed files with 5 additions and 1 deletions
|
|
@ -287,7 +287,11 @@ gluScaleImage(GLenum format,
|
|||
}
|
||||
break;
|
||||
default:
|
||||
return GLU_INVALID_ENUM;
|
||||
{
|
||||
free(tempin);
|
||||
free(tempout);
|
||||
return GLU_INVALID_ENUM;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue