Needed to release an open file stream in the import command.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@1041 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
dsandersoremutah
2007-02-22 19:37:59 +00:00
parent b242d3b57e
commit 309e270617

View File

@@ -5248,6 +5248,11 @@ RetryLoad:
bTransActive = TRUE;
}
if (pFileIStream)
{
pFileIStream->Release();
pFileIStream = NULL;
}
if( RC_BAD( rc = FlmOpenFileIStream( szTmpPath, &pFileIStream)))
{
goto Exit;
@@ -5395,6 +5400,11 @@ RetryLoad:
Exit:
if (pFileIStream)
{
pFileIStream->Release();
}
if( pDirHdl)
{
pDirHdl->Release();