Explorar o código

Merge pull request #335 from StalderT/patch-6

Update ua_client.c
ichrispa %!s(int64=9) %!d(string=hai) anos
pai
achega
e44150a1c4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/client/ua_client.c

+ 1 - 0
src/client/ua_client.c

@@ -882,6 +882,7 @@ UA_Boolean UA_Client_processPublishRx(UA_Client *client, UA_PublishResponse resp
                         }
                     }
                 }
+                UA_DataChangeNotification_deleteMembers(&dataChangeNotification);
             }
             else if (msg.notificationData[k].typeId.namespaceIndex == 0 && msg.notificationData[k].typeId.identifier.numeric == 820 ) {
                 //FIXME: This is a statusChangeNotification (not supported yet)