forked from aniani/vim
patch 8.0.1079: memory leak when remote_foreground() fails
Problem: Memory leak when remote_foreground() fails. Solution: Free the error message.
This commit is contained in:
@@ -420,6 +420,7 @@ serverSendToVim(
|
||||
{
|
||||
LookupName(dpy, loosename ? loosename : name,
|
||||
/*DELETE=*/TRUE, NULL);
|
||||
vim_free(loosename);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user