summaryrefslogtreecommitdiff
path: root/src/examples/xb_ex_v4_create_dbf.cpp
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2023-08-14 21:07:48 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2023-08-14 21:07:48 +0200
commitd850e78baf62d1f472a3a296f407c127c64cec88 (patch)
tree39725643b44c91ea25809766cf95cd0b1173e880 /src/examples/xb_ex_v4_create_dbf.cpp
parent15f88452d39eee5a89551a89ef2b93df5168ba2f (diff)
parentc894a7cdd8686ea695602a23a511a3f1b0d047be (diff)
Update upstream source from tag 'upstream/4.1.4'
Update to upstream version '4.1.4' with Debian dir 403f575aa88344456029245280a05149f0173f2e
Diffstat (limited to 'src/examples/xb_ex_v4_create_dbf.cpp')
-rwxr-xr-xsrc/examples/xb_ex_v4_create_dbf.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/examples/xb_ex_v4_create_dbf.cpp b/src/examples/xb_ex_v4_create_dbf.cpp
index 6169213..d6bfb2f 100755
--- a/src/examples/xb_ex_v4_create_dbf.cpp
+++ b/src/examples/xb_ex_v4_create_dbf.cpp
@@ -2,7 +2,7 @@
XBase64 Software Library
-Copyright (c) 1997,2003,2014,2022 Gary A Kunkel
+Copyright (c) 1997,2003,2014,2022,2023 Gary A Kunkel
The xb64 software library is covered under the terms of the GPL Version 3, 2007 license.
@@ -60,12 +60,12 @@ int main()
xbInt16 iRc;
xbDbf * MyDbfFile;
-
+
#ifdef XB_MDX_SUPPORT
xbIx *pIx;
void *pTag;
#endif // XB_MDX_SUPPORT
-
+
MyDbfFile = new xbDbf4( &x );
if(( iRc = MyDbfFile->CreateTable( "Address.DBF", "Address", MyAddressBookRecord, XB_OVERLAY, XB_MULTI_USER )) != XB_NO_ERROR )
@@ -93,7 +93,8 @@ int main()
}
MyDbfFile->Close(); /* Close database and associated indexes */
+ delete MyDbfFile;
-#endif // XB_DBF4_SUPPORT
+ #endif // XB_DBF4_SUPPORT
return 0;
}