Преглед изворни кода

Merge pull request #335 from StalderT/patch-6

Update ua_client.c
ichrispa пре 9 година
родитељ
комит
e44150a1c4
1 измењених фајлова са 1 додато и 0 уклоњено
  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)