Few minor issues highlighted by cppcheck/valgrind.

This commit is contained in:
Derision committed 2013-03-04 19:15:07 +00:00
1 parent af1f87a00f
commit c8ca362eba
5 files changed
+7 -7

No files matched your search

+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) {