fix a few memory leaks and cppcheck detected errors - more in bugreport

This commit is contained in:
CodeCodon
2015-08-05 17:17:11 -05:00
parent ea8129017e
commit 4dc1ea1e56
14 changed files with 851 additions and 784 deletions
@@ -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;
}