Find a memory bug. Need to read articles like http://blog.csdn.net/qinlicang/article/details/5734298