Eliminated leak in GSClassSwapper.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18284 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2003-12-30 01:52:26 +00:00
parent 8f758ada3f
commit d9b7cb7b1c
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-12-29 20:43 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: removed extraneous retain in
GSClassSwapper which was causing the retain counts of
custom classes to be one too many.
2003-12-29 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-activateIgnoringOtherApps:): Change

View file

@ -550,7 +550,7 @@ static const int currentVersion = 1; // GSNibItem version number...
// Do this here since we are not using decode to do this.
// Normally decode does a retain, so we must do it here.
RETAIN(obj);
// RETAIN(obj);
// change the class of the instance to the one we want to see...
return obj;