mbed library sources

Fork of mbed-src by mbed official

Revision:
212:34d62c0b2af6
Parent:
36:ab3ee77451e7
diff -r fb8edfff6ae1 -r 34d62c0b2af6 common/CallChain.cpp
--- a/common/CallChain.cpp	Sun May 25 08:00:07 2014 +0100
+++ b/common/CallChain.cpp	Mon May 26 18:15:07 2014 +0100
@@ -3,13 +3,13 @@
 
 namespace mbed {
 
-CallChain::CallChain(int size) : _size(size), _elements(0) {
+CallChain::CallChain(int size) : _chain(), _size(size), _elements(0) {
     _chain = new pFunctionPointer_t[size]();
 }
 
 CallChain::~CallChain() {
     clear();
-    delete _chain;    
+    delete _chain;
 }
 
 pFunctionPointer_t CallChain::add(void (*function)(void)) {