diff -r 917a5a5434a9 -r 5c57c463f224 jdk/src/windows/native/sun/font/lcdglyph.c --- a/jdk/src/windows/native/sun/font/lcdglyph.c Tue Jun 26 09:53:27 2012 -0700 +++ b/jdk/src/windows/native/sun/font/lcdglyph.c Tue Jun 26 09:54:29 2012 -0700 @@ -409,7 +409,7 @@ */ imageSize = bytesWidth*height; glyphInfo = (GlyphInfo*)malloc(sizeof(GlyphInfo)+imageSize); - if (malloc == NULL) { + if (glyphInfo == NULL) { FREE_AND_RETURN; } glyphInfo->cellInfo = NULL;