Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mgizapp/src/HMMTables.cpp')
-rw-r--r--mgizapp/src/HMMTables.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mgizapp/src/HMMTables.cpp b/mgizapp/src/HMMTables.cpp
index 0a7175c..c3ec741 100644
--- a/mgizapp/src/HMMTables.cpp
+++ b/mgizapp/src/HMMTables.cpp
@@ -580,12 +580,12 @@ template<class CLS, class MAPPERCLASSTOSTRING> HMMTables<CLS,
init_beta.begin(); i!=init_beta.end(); i++) {
i->second.second->unlock();
}
-#endif
+
delete lock;
delete alphalock;
delete betalock;
-#if WIN32
+
for (typename hash_map<int,hmmentry_type>::iterator i=
init_alpha.begin(); i!=init_alpha.end(); i++) {
delete i->second.second;