Mercurial > otakunoraifu
comparison scn2k/scn2k_impl.cc @ 8:55b577e5f5b5
Some memory leaks fixed
author | thib |
---|---|
date | Tue, 05 Aug 2008 12:56:51 +0000 |
parents | 2c890434e30f |
children | 2e6a92ed913b |
comparison
equal
deleted
inserted
replaced
7:fa8511a21d05 | 8:55b577e5f5b5 |
---|---|
863 fname[i] = tolower(c); | 863 fname[i] = tolower(c); |
864 } | 864 } |
865 fname[i] = 0; | 865 fname[i] = 0; |
866 dir += "/save."; | 866 dir += "/save."; |
867 dir += fname; | 867 dir += fname; |
868 delete[] fname; | |
868 return dir; | 869 return dir; |
869 } | 870 } |
870 // セーブファイルの名前をつくる | 871 // セーブファイルの名前をつくる |
871 string Scn2kSaveTitle::operator() (int number) const { | 872 string Scn2kSaveTitle::operator() (int number) const { |
872 int y,m,d,wd,h,min,sec,msec; | 873 int y,m,d,wd,h,min,sec,msec; |