mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
[apr-util] Fix issues reported by scan-build.
This commit is contained in:
@@ -180,7 +180,9 @@ static TSort *tsort(TSort *pData,int nItems)
|
||||
break;
|
||||
}
|
||||
}
|
||||
pTail->pNext=NULL; /* unfudge the tail */
|
||||
if (pTail) {
|
||||
pTail->pNext = NULL; /* unfudge the tail */
|
||||
}
|
||||
return pHead;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user