viced-ubik-clientdestroy-null-20090703

LICENSE IPL10
FIXES 125020

null ubik client point when it's freed in hpr_End to avoid a null deref later
This commit is contained in:
Andrew Deason 2009-07-03 14:03:57 +00:00 committed by Derrick Brashear
parent 22196a7fd7
commit 6ef1234402

View File

@ -340,8 +340,10 @@ CallPreamble(register struct rx_call *acall, int activecall,
/* Is it still necessary to drop this? We hit the net, we should... */
H_UNLOCK;
if (uclient)
if (uclient) {
hpr_End(uclient);
uclient = NULL;
}
code = hpr_Initialize(&uclient);
if (!code)