mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1719
Problem: Leaking memory when there is a cycle involving a job and a partial. Solution: Add a copyID to job and channel. Set references in items referred by them. Go through all jobs and channels to find unreferenced items. Also, decrement reference counts when garbage collecting.
This commit is contained in:
@@ -7910,7 +7910,7 @@ reg_submatch_list(int no)
|
||||
|
||||
if (error)
|
||||
{
|
||||
list_free(list, TRUE);
|
||||
list_free(list);
|
||||
return NULL;
|
||||
}
|
||||
return list;
|
||||
|
Reference in New Issue
Block a user