Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8127087

wrong check in lcdglyph.c

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • fx2.1
    • javafx

      reading lcdglyph.c I noticed this code:
      glyphInfo = (GlyphInfo*)malloc(sizeof(GlyphInfo)+imageSize);
      if (malloc == NULL) {
         FREE_AND_RETURN;
      }

      the correct code is:

      glyphInfo = (GlyphInfo*)malloc(sizeof(GlyphInfo)+imageSize);
      if (glyphInfo == NULL) {
         FREE_AND_RETURN;
      }

            fheidric Felipe Heidrich (Inactive)
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: