Overview
| Comment: | Fix missing retain in -[OFArray initWithObject:arguments:]. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1e9b75e44dc428dc1db59718e43d5b2d |
| User & Date: | js on 2011-05-08 23:24:25 |
| Other Links: | manifest | tags |
Context
|
2011-05-12
| ||
| 13:14 |
Fix namespace handling in OFXMLElement. Won't be backported to 0.5 as this might break stuff. (check-in: 3ab7ef17f6 user: js tags: trunk) | |
|
2011-05-08
| ||
| 23:24 | Fix missing retain in -[OFArray initWithObject:arguments:]. (check-in: 1e9b75e44d user: js tags: trunk) | |
| 23:13 | Fix incorrect indentation of -[OFArray stringBySerializing]. (check-in: 708c4ea884 user: js tags: trunk) | |
Changes
Modified src/OFArray.m from [7aa29c6164] to [40c18091bb].
| ︙ | ︙ | |||
111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
{
self = [self init];
@try {
id object;
[array addItem: &firstObject];
while ((object = va_arg(arguments, id)) != nil) {
[array addItem: &object];
[object retain];
}
} @catch (id e) {
[self release];
@throw e;
| > > | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
{
self = [self init];
@try {
id object;
[array addItem: &firstObject];
[firstObject retain];
while ((object = va_arg(arguments, id)) != nil) {
[array addItem: &object];
[object retain];
}
} @catch (id e) {
[self release];
@throw e;
|
| ︙ | ︙ |