Incorrect reference count management results in a leak of rx_securityClass
objects.
rx_SetConnDeadTime(tcp->callp, CM_CONN_CONNDEADTIME);
rx_SetConnHardDeadTime(tcp->callp, CM_CONN_HARDDEADTIME);
tcp->ucgen = ucellp->gen;
+ if (secObjp)
+ rxs_Release(secObjp); /* Decrement the initial refCount */
}
long cm_ConnByServer(cm_server_t *serverp, cm_user_t *userp, cm_conn_t **connpp)
info->hostAddr[i].sin_port, USER_SERVICE_ID,
sc, scIndex);
+ if (sc)
+ rxs_Release(sc); /* Decrement the initial refCount */
code = ubik_ClientInit(serverconns, &uclient);
if (code) {