revise bug of memory leak !! where every time i recieve a message i new a tmpMsg.