diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3893892b76..c0525d885b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,7 @@ +19990617-12:20 CET Eddie Runia + * source/compiler/harbour.y + GetLocalVarPos : OurMalloc( sizeof(PVAR) ) should be sizeof(VAR) + 19990617-02:15 EDT David G. Holm * include/extend.api - Moved fixed memory functions to fm.api diff --git a/harbour/source/compiler/harbour.y b/harbour/source/compiler/harbour.y index 16fc581117..e50eddcd00 100644 --- a/harbour/source/compiler/harbour.y +++ b/harbour/source/compiler/harbour.y @@ -2697,7 +2697,7 @@ int GetLocalVarPos( char * szVarName ) /* returns the order + 1 of a variable if /* this variable was not referenced yet - add it to the list */ PVAR pVar; - pVar = (PVAR) OurMalloc( sizeof(PVAR) ); + pVar = (PVAR) OurMalloc( sizeof(VAR) ); pVar->szName = szVarName; //pVar->cType = 'U'; pVar->iUsed = 0;