mirror of
https://github.com/vim/vim.git
synced 2025-10-24 08:54:47 -04:00
patch 9.1.0653: Patch v9.1.0648 not completely right
Problem: Patch v9.1.0648 not completely right
(zeertzjq)
Solution: Remove always true condition
closes: #15415
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -197,11 +197,9 @@ dialog_changed(
|
||||
// restore to empty when write failed
|
||||
if (empty_bufname)
|
||||
{
|
||||
// prevent double free
|
||||
if (buf->b_sfname != buf->b_ffname)
|
||||
VIM_CLEAR(buf->b_sfname);
|
||||
buf->b_fname = NULL;
|
||||
VIM_CLEAR(buf->b_ffname);
|
||||
VIM_CLEAR(buf->b_sfname);
|
||||
unchanged(buf, TRUE, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user