afnetworking报错pointer being freed was not allocated

报错内容

    YangTao(57008,0x7000002a0000) malloc: *** error for object 0x6180000d6490: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug

解决方法

        @synchronized (self) {
                [self gl_setObject:anObject forKey:aKey];
        }
原文地址:https://www.cnblogs.com/jackyshan/p/6033403.html