mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Few minor issues highlighted by cppcheck/valgrind.
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user