A modelling and serializer library for Microsoft Azure IoTHub client applications
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
This library implements a serializer library to be used in projects involving Microsoft Azure IoT Hub connectivity. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: datapublisher.c
- Revision:
- 36:7d12a5386197
- Parent:
- 33:30999a4089f1
--- a/datapublisher.c Thu Jul 12 18:10:30 2018 -0700 +++ b/datapublisher.c Tue Sep 11 11:14:37 2018 -0700 @@ -87,7 +87,7 @@ { DATA_PUBLISHER_HANDLE_DATA* dataPublisherInstance = (DATA_PUBLISHER_HANDLE_DATA*)dataPublisherHandle; DataMarshaller_Destroy(dataPublisherInstance->DataMarshallerHandle); - + free(dataPublisherHandle); } } @@ -383,7 +383,7 @@ /*Codes_SRS_DATA_PUBLISHER_02_011: [ If argument data is NULL then DataPublisher_PublishTransacted_ReportedProperty shall fail and return DATA_PUBLISHER_INVALID_ARG. ]*/ if ( (transactionHandle == NULL) || - (reportedPropertyPath == NULL) || + (reportedPropertyPath == NULL) || (data == NULL) ) {