chenfanfang / AvoidCrash

This framework can effective avoid crash by potential error code. For example : If you insert a nil into a mutable array, this framework can avoid crash and note you that where cause crash.
MIT License
1.64k stars 383 forks source link

Leak memory #43

Closed HieuLsw closed 4 years ago

HieuLsw commented 6 years ago

i was use xcode profile to check leak and i got leak memory. Please check and fix it :). Tks

HaiTeng-Wang commented 6 years ago

NSAttributedString+AvoidCrash.m 85行代码object = [self avoidCrashInitWithString:str attributes:attrs]; 2Bytes

赶紧修复吧。内存泄露这么严重的问题都不知道修复。