Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix memory leaks, update SDK version

  • Loading branch information...
commit 3f2e9ae55576c1839d5420d5e5df64b1c8eaba54 1 parent 43765c5
@msv msv authored
View
3  RELEASE_NOTES.md
@@ -1,5 +1,8 @@
# Release Notes
+## 0.4.11
+* Fix memory leaks
+
## 0.4.10
* Add support for atomic counter
* Add logs for testing server time diff function
View
1  StackMob/External/OAuthConsumer/OAMutableURLRequest.m
@@ -195,7 +195,6 @@ - (void)_generateNonce
CFStringRef string = CFUUIDCreateString(NULL, theUUID);
NSMakeCollectable(theUUID);
nonce = (NSString *)string;
- [nonce retain];
CFRelease(theUUID); // Ignore warning for now
}
View
1  StackMob/StackMobSession.m
@@ -227,6 +227,7 @@ -(void)recordServerTimeDiffFromHeader:(NSString*)header {
NSDateFormatter *rfcFormatter = [[NSDateFormatter alloc] init];
[rfcFormatter setDateFormat:@"EEE, dd MMM yyyy HH:mm:ss zzz"];
NSDate *serverTime = [rfcFormatter dateFromString:header];
+ [rfcFormatter release];
_serverTimeDiff = [serverTime timeIntervalSinceDate:[NSDate date]];
SMLog(@"Server time is %@ and diff is %f", serverTime, _serverTimeDiff);
if([[NSDate date] earlierDate:_nextTimeCheck] == _nextTimeCheck) {
View
2  StackMob/StackMobVersion.h
@@ -13,4 +13,4 @@
// limitations under the License.
-#define STACKMOB_SDK_VERSION @"0.4.10"
+#define STACKMOB_SDK_VERSION @"0.4.11"
Please sign in to comment.
Something went wrong with that request. Please try again.