summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/connect/javaconn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/javaconn.cpp b/storage/connect/javaconn.cpp
index e73149486a8..ec10b125737 100644
--- a/storage/connect/javaconn.cpp
+++ b/storage/connect/javaconn.cpp
@@ -456,7 +456,7 @@ bool JAVAConn::Open(PGLOBAL g)
//=============== load and initialize Java VM and JNI interface =============
rc = CreateJavaVM(&jvm, (void**)&env, &vm_args); // YES !!
- delete options; // we then no longer need the initialisation options.
+ delete[] options; // we then no longer need the initialisation options.
switch (rc) {
case JNI_OK: