mirror of
https://bitbucket.org/swgmasters/client-tools.git
synced 2026-08-03 08:15:47 -04:00
fix a few memory leaks and cppcheck detected errors - more in bugreport
This commit is contained in:
@@ -31,6 +31,7 @@ bool CConfig::LoadFile(char * file)
|
||||
if (fp == NULL || fp == (FILE *)-1)
|
||||
{
|
||||
//fprintf(stderr,"Failed to open config file %s!",file);
|
||||
fclose(fp);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user