mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

NOTE:

This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!

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