Ignore:
Timestamp:
Jun 22, 2001, 7:07:18 PM (24 years ago)
Author:
bird
Message:

Corrected boogh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/APIImport.cpp

    r5531 r6065  
    1 /* $Id: APIImport.cpp,v 1.9 2001-04-17 00:24:46 bird Exp $ */
     1/* $Id: APIImport.cpp,v 1.10 2001-06-22 17:07:18 bird Exp $ */
    22/*
    33 *
     
    248248    try
    249249    {
    250         kFile InFile(pszFilename);
     250        kFile * pInFile = new kFile(pszFilename);
    251251
    252252        try
     
    262262            try
    263263            {
    264                 kFilePE *pFile = new kFilePE(&InFile);
     264                kFilePE *pFile = new kFilePE(pInFile);
    265265                pExportFile = pFile;
    266266                pModuleFile = pFile;
     
    270270            {
    271271                i = i;
    272                 kFileDef *pFile = new kFileDef(&InFile);
     272                kFileDef *pFile = new kFileDef(pInFile);
    273273                pExportFile = pFile;
    274274                pModuleFile = pFile;
     
    371371                fprintf(phLog, "%s: error - could not get module name.\n", pszFilename);
    372372
    373             delete(pFileBase);
     373            if (pFileBase)
     374                delete(pFileBase);
    374375        }
    375376        catch (int err)
Note: See TracChangeset for help on using the changeset viewer.