Skip to content

Commit

Permalink
Update opcua_objectstruct_helper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
azoitl committed Apr 10, 2024
1 parent da15d9b commit c781635
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/com/opc_ua/opcua_objectstruct_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ bool COPC_UA_ObjectStruct_Helper::isOPCUAObjectPresent(std::string &paBrowsePath
if(localHandler) {
CActionInfo::CNodePairInfo nodePair(nullptr, paBrowsePath);
bool retVal = localHandler->isOPCUAObjectPresent(nodePair);
if(nodePair.mNodeId)
{
if(nodePair.mNodeId) {
UA_NodeId_delete(nodePair.mNodeId);
}
return retVal;
Expand Down

0 comments on commit c781635

Please sign in to comment.