File xbase-2.0.0-array-del.patch of Package xbase

--- bin/dbfutil1.cpp
+++ bin/dbfutil1.cpp
@@ -233,2 +233,4 @@ void MyClass::ConvertDatabase()
-              if( MemoFieldLen > 0 ) 
-                delete MemoFieldBuf;
+              if( MemoFieldLen > 0 ){
+                delete [] MemoFieldBuf;
+                MemoFieldBuf = NULL;
+              }
@@ -259,2 +261,4 @@ void MyClass::ConvertDatabase()
-  if( MemoFieldLen > 0 ) 
-    delete MemoFieldBuf;
+  if( MemoFieldLen > 0 ){
+    delete [] MemoFieldBuf;
+    MemoFieldBuf = NULL;
+  }