abc: mem leak: also free invalid messages