Fix leaks in arglist_parser_* functions.

Proposed to upstream.