dtcm: Coverity 89517
This commit is contained in:
@@ -358,10 +358,12 @@ _DtCm_register_callback_3_svc(Registration_3 *r, struct svc_req *svcrq)
|
|||||||
stat = 0;
|
stat = 0;
|
||||||
|
|
||||||
newreg = _DtCm_reg3_to_reg4(r);
|
newreg = _DtCm_reg3_to_reg4(r);
|
||||||
newstat = _DtCm_register_callback_4_svc(newreg, svcrq);
|
if(newreg) {
|
||||||
stat = _DtCm_regstat4_to_regstat3(*newstat);
|
newstat = _DtCm_register_callback_4_svc(newreg, svcrq);
|
||||||
|
stat = _DtCm_regstat4_to_regstat3(*newstat);
|
||||||
|
|
||||||
if (newreg!=NULL) xdr_free((xdrproc_t)_DtCm_xdr_Registration_4, (char*)newreg);
|
xdr_free((xdrproc_t)_DtCm_xdr_Registration_4, (char*)newreg);
|
||||||
|
}
|
||||||
return(&stat);
|
return(&stat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user