equal
deleted
inserted
replaced
15 }; |
15 }; |
16 |
16 |
17 CocoaInitializer::CocoaInitializer() |
17 CocoaInitializer::CocoaInitializer() |
18 { |
18 { |
19 d = new CocoaInitializer::Private(); |
19 d = new CocoaInitializer::Private(); |
|
20 c = new CocoaInitializer::Private(); |
20 NSApplicationLoad(); |
21 NSApplicationLoad(); |
|
22 c->autoReleasePool_ = [[NSAutoreleasePool alloc] init]; |
21 d->autoReleasePool_ = [[NSAutoreleasePool alloc] init]; |
23 d->autoReleasePool_ = [[NSAutoreleasePool alloc] init]; |
22 } |
24 } |
23 |
25 |
24 CocoaInitializer::~CocoaInitializer() |
26 CocoaInitializer::~CocoaInitializer() |
25 { |
27 { |
26 [d->autoReleasePool_ release]; |
28 [d->autoReleasePool_ release]; |
|
29 [c->autoReleasePool_ release]; |
|
30 delete c; |
27 delete d; |
31 delete d; |
28 } |
32 } |