fix mem leak in recv message error, always free msg