From: Laszlo T. <ave...@us...> - 2005-02-23 19:01:08
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18488/plugins/TLKImporter Modified Files: TLKImp.cpp Log Message: some leak fixes travel areas are now passable Index: TLKImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter/TLKImp.cpp,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** TLKImp.cpp 7 Feb 2005 19:59:03 -0000 1.43 --- TLKImp.cpp 23 Feb 2005 18:59:43 -0000 1.44 *************** *** 167,170 **** --- 167,171 ---- tmp = GetString( monthnames[i] ); core->GetTokenDictionary()->SetAt("MONTHNAME",tmp); + //must not free tmp, SetAt doesn't copy the pointer! sprintf(tmpstr,"%d", month); |