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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user