Orefatoi / Mbed 2 deprecated afero_node_suntory_171018

Dependencies:   mbed MMA8451Q USBDevice WakeUp vt100

Fork of afero_node_suntory_2017_06_15 by Orefatoi

Revision:
2:dfe671e31221
Parent:
1:b2a9a6f2c30e
Child:
5:9d5c7ee80f3b
diff -r b2a9a6f2c30e -r dfe671e31221 afLib/Command.cpp
--- a/afLib/Command.cpp	Thu Jan 19 09:17:16 2017 +0000
+++ b/afLib/Command.cpp	Tue Jan 24 10:00:28 2017 +0000
@@ -114,7 +114,7 @@
 
 Command::~Command() {
     if (_value != NULL) {
-        delete (_value);
+        delete[] _value; //wsugi delete (_value);
     }
 }