Monotone-Parent: 53c7bfdc2c357c162e23401ab5600d2cb4a1483e

Monotone-Revision: fc5a6818c0ee3f04b21668c4b2008a9549fb34f7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-30T07:30:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-06-30 07:30:44 +00:00
parent 6987cba3c2
commit 13bad20737
4 changed files with 42 additions and 36 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ MAPIStoreTallocWrapperDestroy (void *data)
pool = [NSAutoreleasePool new];
wrapper = data;
// NSLog (@"destroying wrapped object (wrapper: %p; object: %p)...\n", wrapper, wrapper->MAPIStoreSOGoObject);
[wrapper->MAPIStoreSOGoObject release];
[wrapper->instance release];
[pool release];
GSUnregisterCurrentThread ();
@@ -63,7 +63,7 @@ MAPIStoreTallocWrapperDestroy (void *data)
wrapper = talloc_zero (tallocCtx, struct MAPIStoreTallocWrapper);
talloc_set_destructor ((void *) wrapper, MAPIStoreTallocWrapperDestroy);
wrapper->MAPIStoreSOGoObject = self;
wrapper->instance = self;
[self retain];
// NSLog (@"returning wrapper: %p; object: %p", wrapper, self);