]> git.ipfire.org Git - thirdparty/squid.git/commit
Do reset $HOME if needed after r13435. Minimize putenv() memory leaks.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 21 Sep 2016 18:54:45 +0000 (12:54 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 21 Sep 2016 18:54:45 +0000 (12:54 -0600)
commitb1b2793926b56ec8132b911cf245c5dd46475d8e
tree05008de74a7d66cf1ab64f262269701be9a6a5af
parent0476ec45c041d9a6e0860deb9705587a38a1e34f
Do reset $HOME if needed after r13435. Minimize putenv() memory leaks.

While r13435 is attributed to me, the wrong condition was not mine. This
is a good example of why "cmp() op 0" pattern is usually safer because
the "==" or "!=" operator "tells" us whether the strings are equal,
unlike "!cmp()" that is often misread as "not equal".
src/cache_cf.cc