Ported FLAIM to FTK.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@509 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -1169,7 +1169,7 @@ VISIT: We may want to return BOF/EOF when positioned on an endpoint.
|
||||
****************************************************************************/
|
||||
RCODE FSIndexCursor::currentKeyBuf(
|
||||
FDB * pDb,
|
||||
POOL * pPool,
|
||||
F_Pool * pPool,
|
||||
FLMBYTE ** ppKeyBuf,
|
||||
FLMUINT * puiKeyLen,
|
||||
FLMUINT * puiRecordId,
|
||||
@@ -1219,10 +1219,9 @@ RCODE FSIndexCursor::currentKeyBuf(
|
||||
|
||||
if( (*puiKeyLen = m_curKeyPos.uiKeyLen) != 0)
|
||||
{
|
||||
if( (*ppKeyBuf = (FLMBYTE *)
|
||||
GedPoolAlloc( pPool, m_curKeyPos.uiKeyLen)) == NULL)
|
||||
if( RC_BAD( rc = pPool->poolAlloc( m_curKeyPos.uiKeyLen,
|
||||
(void **)ppKeyBuf)))
|
||||
{
|
||||
rc = RC_SET( FERR_MEM);
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user