From 7d85392e663dda392ea0221c2114c76b4e93132a Mon Sep 17 00:00:00 2001 From: Eddie Runia Date: Thu, 17 Jun 1999 11:25:12 +0000 Subject: [PATCH] see changelog --- harbour/ChangeLog | 4 ++++ harbour/source/compiler/harbour.y | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;