mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-14 03:38:33 +00:00
Few minor issues highlighted by cppcheck/valgrind.
This commit is contained in:
+1
-1
@@ -1094,7 +1094,7 @@ int Parser::LoadScript(int npcid, const char * zone, Mob* activater)
|
||||
buffer.replace(buffer.length()-1,buffer.length(),"");
|
||||
int heh = ParseCommands(buffer,line_num,0,0,0,0,filename);
|
||||
if (!heh){
|
||||
safe_delete_array(NewEventList);
|
||||
safe_delete(NewEventList);
|
||||
return 0;
|
||||
}
|
||||
event1->command = buffer;
|
||||
|
||||
Reference in New Issue
Block a user