rspro_gen_ConnectClientReq(): don't dereference optional 'client'
Change-Id: Id5ff7f1524bc34576095d6812935557c7f03b545
This commit is contained in:
parent
098ef8780c
commit
c3632a778f
|
@ -118,7 +118,8 @@ RsproPDU_t *rspro_gen_ConnectClientReq(const struct app_comp_id *a_cid, const Cl
|
|||
return NULL;
|
||||
pdu->msg.present = RsproPDUchoice_PR_connectClientReq;
|
||||
fill_comp_id(&pdu->msg.choice.connectClientReq.identity, a_cid);
|
||||
ASN_ALLOC_COPY(pdu->msg.choice.connectClientReq.clientSlot, client);
|
||||
if (client)
|
||||
ASN_ALLOC_COPY(pdu->msg.choice.connectClientReq.clientSlot, client);
|
||||
|
||||
return pdu;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue