handle memory leak on early exit parseLogHeader.cpp

This commit is contained in:
Scott Fennell 2018-10-03 10:34:45 -05:00
parent d1957c650b
commit 072e1855dd

View File

@ -63,6 +63,7 @@ int LogGroup::parseLogHeaders()
fprintf(stderr,
"\nERROR:\nCouldn't open file \"%s\" \n",
headerName);
delete[] strs;
delete[] headerName;
return (-1);
}