src/glu/mini: fix mem leak (bug 26559)
This commit is contained in:
@@ -287,7 +287,11 @@ gluScaleImage(GLenum format,
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return GLU_INVALID_ENUM;
|
||||
{
|
||||
free(tempin);
|
||||
free(tempout);
|
||||
return GLU_INVALID_ENUM;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user