]> git.ipfire.org Git - thirdparty/squid.git/commit - src/ipc/mem/Segment.cc
Remove fake segments from the global Segments array when "unlinking" them.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 26 Oct 2011 17:17:01 +0000 (11:17 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 26 Oct 2011 17:17:01 +0000 (11:17 -0600)
commit44c64af0d78f88de30264d775accf209e825804b
treeb02956a298f81afbf66dded3c910b3750b06b8db
parentef8de4644e03ec6b88f83a8c44f311793e63e7ab
Remove fake segments from the global Segments array when "unlinking" them.

This change prevents "Duplicate fake segment creation" errors and makes
link/unlink code symmetric.

Also polished fake Segment destruction code.
src/ipc/mem/Segment.cc