Skip to content

Commit

Permalink
Fixed memory allocation/deallocation issue reported by ASAN in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Oct 11, 2024
1 parent 9be6303 commit ee31d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exaudfclient/base/javacontainer/test/cpp/javavm_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ void JavaVMTest::run(std::string scriptCode, SwigFactoryTestImpl & swigFactory)
javaVMInternalStatus.m_classpath = javaVMImpl.m_classpath;
javaVMInternalStatus.m_jvmOptions = javaVMImpl.m_jvmOptions;
javaVMInternalStatus.m_needsCompilation = javaVMImpl.m_needsCompilation;
delete script_code;
::free(script_code);
}

0 comments on commit ee31d02

Please sign in to comment.