Hi!

In NSColor.m, line 1416, there is this code:


      NSScanner *scanner = [[NSScanner alloc] initWithString: str];

      if ([scanner scanFloat: &r] &&
          [scanner scanFloat: &g] &&
          [scanner scanFloat: &b] &&
          [scanner isAtEnd])
        {
          return [self colorWithCalibratedRed: r
                                        green: g
                                         blue: b
                                        alpha: 1.0];


scanner should be released before the return.

Benhur
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to