this is using the mbed os version 5-13-1

Dependencies:   mbed-http

Files at this revision

API Documentation at this revision

Comitter:
ocomeni
Date:
Fri Apr 19 10:26:58 2019 +0000
Parent:
96:f5ed273881af
Child:
98:65c2333a38b6
Commit message:
cloud messages regression now passing.

Changed in this revision

source/ATCmdManager.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/source/ATCmdManager.cpp	Fri Apr 19 08:51:58 2019 +0000
+++ b/source/ATCmdManager.cpp	Fri Apr 19 10:26:58 2019 +0000
@@ -441,6 +441,8 @@
                         _smutex.lock();
                         _parser.send("ERR");
                         _smutex.unlock();
+                        free(rx_buf_ptr); // make sure to free buffer
+                        rx_buf_ptr = NULL;
                         break; // exit if stop byte not found - possible data corruption!
                     }
                     switch(edm_hdr.payloadID)