Added warning for autorelease without a pool.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3002 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-10-01 03:10:35 +00:00
parent 5f94f13a30
commit c4337b9ca9

View file

@ -1,3 +1,12 @@
Thu Sep 30 4:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* src/NSAutoreleasePool: Added NSLog to ([+addObject:]) to warn when
an object is autoreleased without a pool being present.
This should avoid many mistakes by newbies who don't understand
the retain/release/autorelease mechanism (perhaps it'll encourage
them to read up about it). It also serves as a useful reminder
when you DO know what you are doing.
Wed Sep 30 14:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Removed MallocAddress class -