malloc: *** error for object 0x165060: pointer being freed was not allocated?

后端 未结 6 1018
温柔的废话
温柔的废话 2020-12-31 10:18

I have an application in which i have some videos and audios and some inapp purchases.all r great in simulator and working perfectly.But yesterday i have created an applicat

6条回答
  •  抹茶落季
    2020-12-31 10:54

    I followed as talkol suggested

    In my case I replaced following line

    [myMutualArray removeAllObjects];

    with

    [myMutualArray removeAllObjects]; myMutualArray = nil;
    

    And the error gone!

提交回复
热议问题