mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 14:51:09 +00:00
chan_ooh323: Fix cppcheck warnings
Fix cppcheck warnings about redundant conditions and possible null pointer usage ASTERISK-27793 #close Reported by: Ilya Shipitsin Tested by: Ilya Shipitsin Change-Id: I0b31933b062a23331dbac9a82b8bcfe345f406f6
This commit is contained in:
@@ -2332,9 +2332,8 @@ int ooGkClientSendIRR
|
||||
pIRR->m.perCallInfoPresent = TRUE;
|
||||
|
||||
perCallInfo =
|
||||
(H225InfoRequestResponse_perCallInfo_element *)memAlloc(pctxt,
|
||||
(H225InfoRequestResponse_perCallInfo_element *)memAllocZ(pctxt,
|
||||
sizeof(H225InfoRequestResponse_perCallInfo_element));
|
||||
memset(perCallInfo, 0, sizeof(H225InfoRequestResponse_perCallInfo_element));
|
||||
|
||||
if(!perCallInfo)
|
||||
{
|
||||
|
Reference in New Issue
Block a user