mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-10-14 04:13:12 -04:00
attempt to fix a couple potential leaks...i'm rusty so forgive me if it's stupid
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);
|
||||
delete fp;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user