Unrelease memory block in aEval.

This commit is contained in:
Eddie Runia
1999-05-08 19:54:59 +00:00
parent a0c47426bd
commit ce5c3d28dd
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
19990508-20:57 Eddie Runia
* source/rtl/arrays.c:
Fixed unreleased memory block in aEval.
19990508-15:24 CET Victor Szel <info@szelvesz.hu>
* source/rtl/strings.c:

View File

@@ -479,6 +479,7 @@ HARBOUR AEVAL( void )
{
ArrayEval( pArray, bBlock, _parnl( 3 ), _parnl( 4 ) );
ItemCopy( &stack.Return, pArray ); /* AEval() returns the array itself */
ItemRelease( pArray ); /* Release array holders once */
}
else
_ret();