Explorar o código

Merge branch '0.2' into variable_datavalue

Julius Pfrommer %!s(int64=8) %!d(string=hai) anos
pai
achega
08a262ec9c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/ua_nodestore.c

+ 1 - 1
src/server/ua_nodestore.c

@@ -196,7 +196,7 @@ UA_NodeStore_delete(UA_NodeStore *ns) {
     UA_UInt32 size = ns->size;
     UA_NodeStoreEntry **entries = ns->entries;
     for(UA_UInt32 i = 0; i < size; i++) {
-        if(entries[i])
+        if(entries[i] > UA_NODESTORE_TOMBSTONE)
             deleteEntry(entries[i]);
     }
     UA_free(ns->entries);