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

@@ -347,6 +347,7 @@ RCODE F_DbRebuild::dbRebuild(
F_SEM hWaitSem = F_SEM_NULL;
FLMUINT uiRflToken = 0;
F_CCS * pWrappingKey = NULL;
F_SuperFileClient SFileClient;
if( RC_BAD( rc = f_semCreate( &hWaitSem)))
{
@@ -480,7 +481,12 @@ Retry:
goto Exit;
}
if( RC_BAD( rc = m_pSFileHdl->setup( pszSourceDbPath, pszSourceDataDir)))
if( RC_BAD( rc = SFileClient.setup( pszSourceDbPath, pszSourceDataDir)))
{
goto Exit;
}
if( RC_BAD( rc = m_pSFileHdl->setup( &SFileClient)))
{
goto Exit;
}