Skip to content

Commit

Permalink
Merge pull request #12 from pronebird/master
Browse files Browse the repository at this point in the history
Fix memory leak
  • Loading branch information
gorkem-cetin committed Feb 25, 2013
2 parents 1d5b663 + 1a1a36e commit af85f25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Countly_OpenUDID.m
Expand Up @@ -136,6 +136,7 @@ + (NSString*) _generateFreshOpenUDID {
const char *cStr = CFStringGetCStringPtr(cfstring,CFStringGetFastestEncoding(cfstring)); const char *cStr = CFStringGetCStringPtr(cfstring,CFStringGetFastestEncoding(cfstring));
unsigned char result[16]; unsigned char result[16];
CC_MD5( cStr, strlen(cStr), result ); CC_MD5( cStr, strlen(cStr), result );
CFRelease(cfstring);
CFRelease(uuid); CFRelease(uuid);


_openUDID = [NSString stringWithFormat: _openUDID = [NSString stringWithFormat:
Expand Down

0 comments on commit af85f25

Please sign in to comment.