Skip to content

Memory leak issue #2

@DavidCMurphy

Description

@DavidCMurphy
  • (NSString *)escapeUrlWithString:(NSString *)string, needs to return an autoreleased string or it causes a memory leak.
  • (NSString )escapeUrlWithString:(NSString *)string {
    return [(NSString *)CFURLCreateStringByAddingPercentEscapes(NULL,
    (CFStringRef) string,
    NULL,
    (CFStringRef) @"!
    '();:@&=+$,/?%#[]",
    kCFStringEncodingUTF8) autorelease];
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions