Differences From Artifact [53c2a094cf]:
- File
src/OFAutoreleasePool.m
— part of check-in
[cb9fd1e5dd]
at
2009-01-20 14:53:58
on branch trunk
— Fix a bug causing an exception when autorelease was requested.
This happened when the last pool was released before. (user: js, size: 2763) [annotate] [blame] [check-ins using]
To Artifact [6b8df1f839]:
- File src/OFAutoreleasePool.m — part of check-in [1496808b81] at 2009-01-24 15:24:49 on branch trunk — Adjust API to introduction of OFAutoreleasePool. (user: js, size: 2772) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
105 106 107 108 109 110 111 | return [super free]; } - addToPool: (OFObject*)obj { if (objects == nil) | | | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | return [super free]; } - addToPool: (OFObject*)obj { if (objects == nil) objects = [[OFArray alloc] initWithItemSize: sizeof(char*)]; [objects add: &obj]; return self; } - release |
︙ | ︙ |