Skip to content

Possible Memory Leak #5

@pionl

Description

@pionl

Hi,

every time I use MSStringParser, there is a leak. Its repeated on every usage in the app. Probably issue in Slash?

Usage:

    // we must add special style for the button
    MTStringAttributes *attributes = [[MTStringAttributes alloc] init];

    attributes.font = self.titleLabel.font;
    attributes.textColor = self.titleLabel.textColor;
    attributes.alignment    = self.titleLabel.textAlignment;

    MTStringParser *parser = [[MTStringParser alloc] init];

    [parser setDefaultAttributes:attributes];
    [parser addStyleWithTagName:@"b" font:[attributes.font boldFont] color:attributes.textColor];

    [self updatePageTitleWithAttributtedText:[parser attributedStringFromMarkup:title]];

leak

Best regards.
Martin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions