mirror of
git://git.suckless.org/sbase
synced 2025-01-02 21:12:15 +00:00
ed: Avoid dangling pointer in getrhs()
If the string r.str is freed but error() is called then next call will see a pointer that maybe it will try to free because the call to error unwind the frame stack.
This commit is contained in:
parent
b089261c3a
commit
aacfa18b79