2009-05-06 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* harbour/contrib/rddsql/sqlbase.c
    ! fixed double memory freeing and GPF. Thanks valgrind!
This commit is contained in:
Mindaugas Kavaliauskas
2009-05-06 13:06:51 +00:00
parent dd870377b4
commit 46b7131e52
2 changed files with 8 additions and 2 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to these authors: Viktor Szakats.
*/
2009-05-06 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/rddsql/sqlbase.c
! fixed double memory freeing and GPF. Thanks valgrind!
2009-05-06 14:45 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
! Further fixes to .po file handling functionality after real

View File

@@ -492,8 +492,10 @@ static HB_ERRCODE sqlbaseClose( SQLBASEAREAP pArea )
}
if ( pArea->szQuery )
hb_xfree( pArea->szQuery );
{
hb_xfree( pArea->szQuery );
pArea->szQuery = NULL;
}
return HB_SUCCESS;
}