8309761: Leak class loader constraints

Reviewed-by: coleenp, jsjolen
This commit is contained in:
Zhengyu Gu 2023-06-12 14:03:17 +00:00
parent fdaa2c4083
commit 8e4e6b056c

View File

@ -89,6 +89,9 @@ class ConstraintSet { // copied into hashtable as
}
~ConstraintSet() {
while (!_constraints->is_empty()) {
delete _constraints->pop();
}
delete _constraints;
}