Permalink
Browse files

Merge pull request #12 from pronebird/master

Fix memory leak
  • Loading branch information...
gorkem-cetin committed Feb 25, 2013
2 parents 1d5b663 + 1a1a36e commit af85f25f43d5dd1d8e0d302fa562cb176c4e373a
Showing with 1 addition and 0 deletions.
  1. +1 −0 Countly_OpenUDID.m
View
@@ -136,6 +136,7 @@ + (NSString*) _generateFreshOpenUDID {
const char *cStr = CFStringGetCStringPtr(cfstring,CFStringGetFastestEncoding(cfstring));
unsigned char result[16];
CC_MD5( cStr, strlen(cStr), result );
+ CFRelease(cfstring);
CFRelease(uuid);
_openUDID = [NSString stringWithFormat:

0 comments on commit af85f25

Please sign in to comment.