Fix CID 1212089 and simplify cmd_meta_lineinfo