Skip to content

Commit

Permalink
- removed memory leak in NSString+UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
bengottlieb committed Nov 21, 2009
1 parent c34f234 commit 9737fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Twitter+OAuth/MGTwitterEngine/NSString+UUID.m
Expand Up @@ -20,8 +20,8 @@ + (NSString*)stringWithNewUUID
// Get the string representation of the UUID
NSString *newUUID = (NSString*)CFUUIDCreateString(nil, uuidObj);
CFRelease(uuidObj);
//return [newUUID autorelease];
return newUUID;
return [newUUID autorelease];
//return newUUID;
}


Expand Down

0 comments on commit 9737fbc

Please sign in to comment.