Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Memory Leak #5

Open
pionl opened this issue Apr 25, 2016 · 0 comments
Open

Possible Memory Leak #5

pionl opened this issue Apr 25, 2016 · 0 comments

Comments

@pionl
Copy link

pionl commented Apr 25, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant