mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 03:50:30 +01:00
WINGs: Called function pointer is null (null dereference)
make sure that we have function to call Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
fb4cd10519
commit
b857bafc88
@@ -200,7 +200,7 @@ static WMTreeNode *findNodeInTree(WMTreeNode * aNode, WMMatchDataProc * match, v
|
||||
{
|
||||
if (match == NULL && aNode->data == cdata)
|
||||
return aNode;
|
||||
else if ((*match) (aNode->data, cdata))
|
||||
else if (match && (*match) (aNode->data, cdata))
|
||||
return aNode;
|
||||
|
||||
if (aNode->leaves && limit != 0) {
|
||||
|
||||
Reference in New Issue
Block a user