src/glu/mini: fix mem leak (bug 26559)

This commit is contained in:
Brian Paul 2010-02-14 10:02:32 -07:00
parent 291bd19a1a
commit d4d0629fcd

View file

@ -287,7 +287,11 @@ gluScaleImage(GLenum format,
}
break;
default:
return GLU_INVALID_ENUM;
{
free(tempin);
free(tempout);
return GLU_INVALID_ENUM;
}
}