mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 12:54:15 -04:00
In pool_free_old(), one code path was not clearing a "next" pointer,
so the code could try to free an extent twice in certain circumstances.
This commit is contained in:
1 parent
a0f70237f5
commit
65a22a5ff7
1 file changed
+1
@@ -255,6 +255,7 @@ pool_free_old(alloc_pool_t p, void *addr)
|
||||
cur->free -= skew;
|
||||
}
|
||||
next = cur->next;
|
||||
cur->next = NULL;
|
||||
}
|
||||
} else {
|
||||
next = cur->next;
|
||||
|
||||
Reference in new issue
Block a user