From 75fa6eb93144578e18068c73bfffe3cdaee708ab Mon Sep 17 00:00:00 2001 From: theraven Date: Sat, 28 May 2011 13:09:57 +0000 Subject: [PATCH] Accidentally left some non-GC code enabled in GC mode. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33169 72102866-910b-0410-8b05-ffd578937521 --- Source/NSNotificationCenter.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/NSNotificationCenter.m b/Source/NSNotificationCenter.m index 7d887703a..e730b1ce9 100644 --- a/Source/NSNotificationCenter.m +++ b/Source/NSNotificationCenter.m @@ -802,7 +802,9 @@ static NSNotificationCenter *default_center = nil; #else o->observer = observer; #endif +#ifndef __OBJC_GC__ o->retained = 0; +#endif o->next = 0; if (object != nil)