wrong check in lcdglyph.c

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7u6
    • Affects Version/s: fx2.1
    • Component/s: 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;
      }

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

              Created:
              Updated:
              Resolved:
              Imported: