Moved the super-file handle into FTK and fixed various memory leaks in the FLAIM/XFLAIM unit tests.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@575 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-06-15 17:05:55 +00:00
parent 9f7ca8edd3
commit 2fabd31c06
30 changed files with 1343 additions and 1866 deletions

View File

@@ -818,6 +818,11 @@ Exit:
{
pCSVFileHdl->Release();
}
if( pFileSystem)
{
pFileSystem->Release();
}
return( rc);
}
@@ -1508,6 +1513,12 @@ RCODE TestBase::importBuffer(
Exit:
if( m_pInputStream)
{
m_pInputStream->Release();
m_pInputStream = NULL;
}
return( rc);
}
@@ -1534,6 +1545,12 @@ RCODE TestBase::importDocument(
Exit:
if( m_pInputStream)
{
m_pInputStream->Release();
m_pInputStream = NULL;
}
return( rc);
}
@@ -1561,6 +1578,12 @@ RCODE TestBase::importFile(
Exit:
if( m_pInputStream)
{
m_pInputStream->Release();
m_pInputStream = NULL;
}
return( rc);
}