exec: free env on badarg