Permalink
Browse files

Fix memory leak

  • Loading branch information...
1 parent 1d5b663 commit 1a1a36eb7574f35947f02bf6c780056947a80f91 @pronebird pronebird committed Feb 24, 2013
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 1a1a36e

Please sign in to comment.