]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced-h_gethost_r-host-hold-leak-20060228
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Mar 2006 06:42:46 +0000 (06:42 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Mar 2006 06:42:46 +0000 (06:42 +0000)
commit31fd9994db1c58d5e851e5a0bd9d04a031557c8d
treec3f250beadc56be19ef2d7e040af1baa703c96d8
parent6f707d94064646762e7014d19840b5b2902b3a4e
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
src/viced/host.c