(experimental) LRU cache turned off, safe delete

This commit is contained in:
Dennis Luxen
2011-07-12 17:12:30 +00:00
parent 307c9ae9c5
commit 96f5c1c735
3 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -32,6 +32,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
#include "../DataStructures/HashTable.h"
#include "../Plugins/BasePlugin.h"
#include "../Plugins/RouteParameters.h"
#include "../typedefs.h"
namespace http {
@@ -43,7 +44,7 @@ public:
for(unsigned i = 0; i < _pluginVector.size(); i++) {
BasePlugin * tempPointer = _pluginVector[i];
delete tempPointer;
DELETE( tempPointer );
}
}