Overview
Comment: | Don't call an OFTLSKey destructor if it is NULL. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1fe847a7544a2e57de7842667cf10cb3 |
User & Date: | js on 2011-02-27 02:11:12 |
Other Links: | manifest | tags |
Context
2011-02-27
| ||
14:40 | OFPlugin: Don't close the handle before calling [super dealloc]. check-in: 9b88ee6978 user: js tags: trunk | |
02:11 | Don't call an OFTLSKey destructor if it is NULL. check-in: 1fe847a754 user: js tags: trunk | |
00:35 | Rename -[result] to -[perform] in OFHTTPRequest. check-in: 53213f1d41 user: js tags: trunk | |
Changes
Modified src/OFThread.m from [fb1d321236] to [d347670acc].
︙ | ︙ | |||
265 266 267 268 269 270 271 | + (void)callAllDestructors { of_list_object_t *iter; @synchronized (tlskeys) { for (iter = [tlskeys firstListObject]; iter != NULL; | | > > > | > | 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | + (void)callAllDestructors { of_list_object_t *iter; @synchronized (tlskeys) { for (iter = [tlskeys firstListObject]; iter != NULL; iter = iter->next) { OFTLSKey *key = (OFTLSKey*)iter->object; if (key->destructor != NULL) key->destructor(iter->object); } } } - init { self = [super init]; |
︙ | ︙ |