mqtt specific components for the impact mbed endpoint library

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Revision:
24:e706feda4970
Parent:
23:34086bc15b02
Child:
25:5269e8881494
diff -r 34086bc15b02 -r e706feda4970 MBEDEndpoint.cpp
--- a/MBEDEndpoint.cpp	Wed Apr 02 04:35:41 2014 +0000
+++ b/MBEDEndpoint.cpp	Wed Apr 02 16:09:04 2014 +0000
@@ -86,6 +86,7 @@
      if (success) success = this->closeGPSReceiver();
      if (this->m_cellular_modem != NULL) delete this->m_cellular_modem;
      if (this->m_gps != NULL) delete this->m_gps;
+     if (this->m_preferences != NULL) delete this->m_preferences;
 #else
      if (success) success = this->closeEthernet();
 #endif