fix mem leak for send packet, always free in send msg.