Monotone-Parent: 586a2e5adebfaf2123f3514dffa057f7f0f0574e

Monotone-Revision: 8dee72c8fdafae92791aa552c3705e9c68f5c59e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-16T16:30:58
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2012-08-16 16:30:58 +00:00
parent 0d12810e14
commit e5a3948468
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2012-08-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreMapping.m (_updateFolderWithURL:withURL:):
we retain and release "oldURL" to avoid releasing it when it
is replaced in the list of urls to modify.
* OpenChange/MAPIStoreAppointmentWrapper.m
(-getPidTagInternetCodepage:inMemCtx:): new getter for a property
that is sometimes requested.

View File

@ -215,6 +215,8 @@ MAPIStoreMappingTDBTraverse (TDB_CONTEXT *ctx, TDB_DATA data1, TDB_DATA data2,
NSNumber *idKey;
TDB_DATA key, dbuf;
[oldURL retain];
allKeys = [reverseMapping allKeys];
max = [allKeys count];
for (count = 0; count < max; count++)
@ -243,6 +245,8 @@ MAPIStoreMappingTDBTraverse (TDB_CONTEXT *ctx, TDB_DATA data1, TDB_DATA data2,
talloc_free (dbuf.dptr);
}
}
[oldURL release];
}
- (void) updateID: (uint64_t) idNbr