]> git.ipfire.org Git - thirdparty/squid.git/commit
Do not rely on LateReleaseStack.pop() returning NULL when empty.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 8 Feb 2011 01:58:02 +0000 (18:58 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 8 Feb 2011 01:58:02 +0000 (18:58 -0700)
commiteb7e416ebf0be41624aaa4857b7e2414b76ec256
tree6c99dc110bb8d0af9ebf2c41edc5e9b9d6e1757d
parent467261085527a6552a0b28f18c6579e616c44782
Do not rely on LateReleaseStack.pop() returning NULL when empty.

Current Stack::pop() implementation returns value_type() when empty. This
is probably not guaranteed to work well when value_type is a pointer.
src/store.cc