diff --git a/apps/nexus/nxsbuilder.cpp b/apps/nexus/nxsbuilder.cpp index 79a9c6b4..fc0120b6 100644 --- a/apps/nexus/nxsbuilder.cpp +++ b/apps/nexus/nxsbuilder.cpp @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.8 2004/12/03 21:19:00 ponchio +Fixed a couple of memory leak... + Revision 1.7 2004/12/03 01:20:56 ponchio Debug @@ -56,7 +59,7 @@ Level 0. #else #include #endif - +#include #include #include "nxstypes.h" @@ -405,7 +408,7 @@ void FourthStep(const string &crudefile, const string &output, vector links; - map vremap; + hash_map vremap; for(unsigned int i = 0; i < vert_index[start].size; i++) { unsigned int global = vert_remap[vert_index[start].offset + i]; vremap[global] = i; diff --git a/apps/nexus/nxsdispatcher.cpp b/apps/nexus/nxsdispatcher.cpp index 0927b5df..7c0deb0e 100644 --- a/apps/nexus/nxsdispatcher.cpp +++ b/apps/nexus/nxsdispatcher.cpp @@ -56,7 +56,7 @@ void FragIO::execute() { server->writing.unlock(); message *msg = new message(MSG_FAIL, (int)fragin); dispatcher->post(msg); - //TODO restart Server! + server->opener.start(); return; } @@ -71,6 +71,7 @@ void FragIO::execute() { server->reading.unlock(); message *msg = new message(MSG_FAIL, (int)fragin); dispatcher->post(msg); + server->opener.start(); return; } server->reading.unlock();