diff options
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r-- | cores/arduino/WString.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h index 5693e11..b4b6a38 100644 --- a/cores/arduino/WString.h +++ b/cores/arduino/WString.h @@ -37,7 +37,7 @@ class String String( const unsigned int, const int base=10 ); String( const long, const int base=10 ); String( const unsigned long, const int base=10 ); - ~String() { free(_buffer); } + ~String() { free(_buffer); _length = _capacity = 0;} //added _length = _capacity = 0; // operators const String & operator = ( const String &rhs ); |