Few minor issues highlighted by cppcheck/valgrind.

This commit is contained in:
Derision
2013-03-04 19:15:07 +00:00
parent af1f87a00f
commit c8ca362eba
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ HttpdForm::HttpdForm(IFile *infil) : raw(false)
std::string content_type;
std::string current_name;
std::string current_filename;
char slask[200];
char slask[2000];
infil -> fgets(slask, 200);
while (!infil -> eof())
{
+2 -2
View File
@@ -140,8 +140,8 @@ RegularOpcodeManager::RegularOpcodeManager()
}
RegularOpcodeManager::~RegularOpcodeManager() {
safe_delete(emu_to_eq);
safe_delete(eq_to_emu);
safe_delete_array(emu_to_eq);
safe_delete_array(eq_to_emu);
}
bool RegularOpcodeManager::LoadOpcodes(const char *filename, bool report_errors) {