Skip to content
Snippets Groups Projects
Commit a4cb5fbc authored by Abdul Rafae Noor's avatar Abdul Rafae Noor
Browse files

Bugfix FuseHPVMTensorNodes: Added NULL check in findNextNodeInSequence

parent 5c2a9209
No related branches found
No related tags found
No related merge requests found
...@@ -129,6 +129,9 @@ static DFNode *findNextNodeInSequence(DFNode *SrcN) { ...@@ -129,6 +129,9 @@ static DFNode *findNextNodeInSequence(DFNode *SrcN) {
} }
} }
if(!DstN)
return NULL;
// If we reach this point, DstN is the unique successor of SrcN // If we reach this point, DstN is the unique successor of SrcN
// Now, test that the DstN has a single predeccessor except Root (dummy) // Now, test that the DstN has a single predeccessor except Root (dummy)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment