[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSMatrix bug
From: |
Ludovic Marcotte |
Subject: |
NSMatrix bug |
Date: |
Wed, 10 Oct 2001 16:14:56 -0400 (EDT) |
Hi.
In NSMatrix.m, we have:
- (void) setTarget: anObject
{
ASSIGN(_target, anObject);
}
and it should be
- (void) setTarget: anObject
{
_target = anObject;
}
Otherwise, _target will never be released since the retain count will
always be >= 1.
Ludovic
--
Live as if you were to die tomorrow.
Learn as if you were to live forever.
- Gandhi
- NSMatrix bug,
Ludovic Marcotte <=