We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895cc4f commit 84429cdCopy full SHA for 84429cd
src/hotspot/share/compiler/compilerOracle.cpp
@@ -247,6 +247,11 @@ TypedMethodOptionMatcher* TypedMethodOptionMatcher::clone() {
247
}
248
249
TypedMethodOptionMatcher::~TypedMethodOptionMatcher() {
250
+ if (type() == CcstrType) {
251
+ ccstr v = value<ccstr>();
252
+ os::free((void*)v);
253
+ }
254
+
255
if (_option != NULL) {
256
os::free((void*)_option);
257
0 commit comments