Update to add ENV variable LIBMEMCACHED
[m6w6/libmemcached] / libtest / framework.cc
index 114dae46b71e02da242a055dbeb6e3c479164ecd..eb0f4120de3982eacdc485d3a5e487f37a7461bf 100644 (file)
@@ -40,6 +40,7 @@
 #include <libtest/collection.h>
 #include <libtest/signal.h>
 
+#include <fnmatch.h>
 #include <iostream>
 
 using namespace libtest;
@@ -86,6 +87,7 @@ Framework::~Framework()
   {
     delete *iter;
   }
+  _collection.clear();
 }
 
 bool Framework::match(const char* arg)