mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-02-05 03:03:34 +00:00
Added NULL checks
This commit is contained in:
@@ -3048,7 +3048,7 @@ void ILibWebClient_CancelRequestEx2(ILibWebClient_StateObject wcdo, void *userRe
|
||||
nextnode = ILibLinkedList_GetNextNode(node);
|
||||
|
||||
wr = (struct ILibWebRequest*)ILibLinkedList_GetDataFromNode(node);
|
||||
if (wr->requestToken == userRequest)
|
||||
if (wr != NULL && wr->requestToken == userRequest)
|
||||
{
|
||||
if (node == head)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user