Memory leak sometimes when UIScrollView is released. 在cap app里,有时在dimmer layer or menu panel进行手势动作时,就会memory leak about "strdup". it is ios bug! 参看 https://devforums.apple.com/message/630695 http
函数名: strdup 功 能: 将串拷贝到新建的位置处 用 法: char *strdup(char *str); 这个函数在linux的man手册里解释为: The strdup() function returns a pointer toa new string which is a duplicate of the string s. Memory fo