Minor changes

This commit is contained in:
anschrammh 2019-05-08 10:55:15 +02:00
parent 57877050a0
commit 6182ee5a59
2 changed files with 5 additions and 2 deletions

View File

@ -73,7 +73,7 @@ public:
free(_parameter);
//_parameter = NULL; Useless, just my c habits
delete _value;
//_value = NULL; //Useless, just my c habits
//_value = NULL; //Useless, just my c habits
}
boolean add(const char *parameter, T *value)
@ -116,6 +116,7 @@ public:
{
toDelete = cursor->_next;
cursor->_next = cursor->_next->_next;
delete toDelete;
return true;
}
@ -144,6 +145,7 @@ public:
{
toDelete = cursor->_next;
cursor->_next = cursor->_next->_next;
delete toDelete;
return true;
}
@ -222,7 +224,7 @@ public:
{
toDelete = cursor;
cursor = cursor->_next;
delete toDelete;
}
_head = this;

View File

@ -6,6 +6,7 @@
#include "tasks.h"
#include "CFGDictionary.h"
#include "CFGParameterValue.h"
#include "TCPServer.h"
#define DEBUG
SAB sab;