use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: source/ConnectorEndpoint.cpp
- Revision:
- 75:9152ea6b4c59
- Parent:
- 74:6abfb2a03020
- Child:
- 76:7f55e1c0635d
--- a/source/ConnectorEndpoint.cpp Fri Nov 04 22:06:32 2016 +0000 +++ b/source/ConnectorEndpoint.cpp Fri Nov 04 22:09:00 2016 +0000 @@ -126,10 +126,10 @@ // Destructor Endpoint::~Endpoint() { +#ifndef ENABLE_MBED_CLOUD_SUPPORT if (this->m_endpoint_interface != NULL) delete this->m_endpoint_interface; -#ifndef ENABLE_MBED_CLOUD_SUPPORT if (this->m_endpoint_security != NULL) delete this->m_endpoint_security; #endif