2001-03-27 05:18 GMT-3 Horacio Roldan <horacioroldan@usa.net>

* harbour/source/rdd/dbcmd.c
     * fixed unallocated memory block in dbcreate
This commit is contained in:
Horacio Dario Roldan Kasimatis
2001-03-27 08:22:30 +00:00
parent 3dcc917bea
commit 4b9b3376ab
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2001-03-27 05:18 GMT-3 Horacio Roldan <horacioroldan@usa.net>
* harbour/source/rdd/dbcmd.c
* fixed unallocated memory block in dbcreate
2001-02-26 19:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net>
*utils/hbmake/hbmake.prg
+Added support yo build librarys

View File

@@ -1280,6 +1280,7 @@ HB_FUNC( DBCREATE )
if( SELF_CREATE( ( AREAP ) s_pCurrArea->pArea, &pInfo ) == FAILURE )
{
hb_xfree( szFileName );
hb_rddReleaseCurrentArea();
hb_errRT_DBCMD( EG_ARG, EDBCMD_BADPARAMETER, NULL, "DBCREATE" );
return;
@@ -1287,6 +1288,7 @@ HB_FUNC( DBCREATE )
if( !bOpen )
{
hb_xfree( szFileName );
hb_rddReleaseCurrentArea();
hb_rddSelectWorkAreaNumber( uiPrevArea );
}