]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-viced-h_gethost_r-host-hold-leak-20060228
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Mar 2006 06:43:14 +0000 (06:43 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Mar 2006 06:43:14 +0000 (06:43 +0000)
commit139292df4bd60d3fcf2172c537baf3be64c3b57d
tree19da925b590a836fbd6cb503b0abb6efc8157d43
parent353d37a2e6cef11f57eaee36d2c32b81631d3179
STABLE14-viced-h_gethost_r-host-hold-leak-20060228

when h_GetHost_r replaces 'host' with 'oldHost' we need to release the
hold on 'host' and maintain the hold on 'oldHost' because if a hold
was placed on 'host' in CallPreamble() it will no longer be released
in CallPostamble() since 'oldHost' will now be bound to the client

(cherry picked from commit 31fd9994db1c58d5e851e5a0bd9d04a031557c8d)
src/viced/host.c