Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the allocation of str fails, free the previous memory allocation in the error path.
- Loading branch information
If the allocation of str fails, free the previous memory allocation in the error path.