Explorar el Código

Merge pull request #334 from StalderT/patch-7

Update ua_client.c
ichrispa hace 9 años
padre
commit
c28f89e188
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/client/ua_client.c

+ 1 - 0
src/client/ua_client.c

@@ -821,6 +821,7 @@ UA_StatusCode UA_Client_unMonitorItemChanges(UA_Client *client, UA_UInt32 subscr
     
     if (retval == 0) {
         LIST_REMOVE(mon, listEntry);
+        UA_NodeId_deleteMembers(&mon->monitoredNodeId);
         UA_free(mon);
     }