Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a command starting with an asterisk was encountered, ModuleConfig was called, which calls AddToModList which frees its argument sometimes. Then __execute_function tries to free the same pointer again. This commit fixes this by only freeing rline in AddToModList if it points at xasprintf'd memory, as freeing the memory from xasprintf won't invalidate expaction. Fixes #425.
- Loading branch information