core: free params list at end on error state inside parse_addr_spec