Fix prehistoric memory leak. This was affecting the loading of

alignment info from binarised phrase tables.


git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3936 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
bhaddow 2011-03-25 17:42:21 +00:00
parent 5059b5ab01
commit d9d1c9440a

View File

@ -117,6 +117,7 @@ inline void fReadString(FILE* f,std::string& e)
}
a[s]='\0';
e.assign(a);
delete[](a);
}
inline size_t fWriteStringVector(FILE* f,const std::vector<std::string>& v)