Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Pro committed Feb 20, 2018
1 parent 12173bc commit 3a58191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/ua_services_nodemanagement.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ Operation_addNode_begin(UA_Server *server, UA_Session *session, void *nodeContex
"AddNodes: Node could not add the new node "
"to the nodestore with error code %s",
UA_StatusCode_name(retval));
return retval;
}

retval = addParentAndTypeRef(server, session, node, parentNodeId, referenceTypeId, &item->typeDefinition.nodeId);
Expand All @@ -956,7 +957,6 @@ Operation_addNode_begin(UA_Server *server, UA_Session *session, void *nodeContex
"AddNodes: Node could add parent references with error code %s",
UA_StatusCode_name(retval));
UA_Nodestore_delete(server, node);
return retval;
}

return retval;
Expand Down

0 comments on commit 3a58191

Please sign in to comment.