Commit 51fb163b authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Fix clang warning of mismatched new[] and delete[]

Warning:
'delete' applied to a pointer that was allocated with 'new[]';
did you mean 'delete[]'?
parent 6b22cc4a
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment