mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 89517
This commit is contained in:
parent
cad7519b46
commit
c4940d8f78
1 changed files with 6 additions and 4 deletions
|
@ -357,11 +357,13 @@ _DtCm_register_callback_3_svc(Registration_3 *r, struct svc_req *svcrq)
|
|||
|
||||
stat = 0;
|
||||
|
||||
newreg = _DtCm_reg3_to_reg4(r);
|
||||
newstat = _DtCm_register_callback_4_svc(newreg, svcrq);
|
||||
stat = _DtCm_regstat4_to_regstat3(*newstat);
|
||||
newreg = _DtCm_reg3_to_reg4(r);
|
||||
if(newreg) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue