File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -13991,12 +13991,14 @@ class GenericSchemaValidator :
1399113991
1399213992 virtual void DestroySchemaValidator(ISchemaValidator* validator) {
1399313993 GenericSchemaValidator* v = static_cast<GenericSchemaValidator*>(validator);
13994+ #ifdef RAPIDJSON_YGGDRASIL
1399413995 if (schema_handler_ && v->schema_handler_) {
1399513996 schema_handler_->DestroySchemaHandler(v->schema_handler_);
1399613997 v->schema_handler_ = nullptr;
1399713998 }
1399813999 if (joint_schema_handler_ && v->joint_schema_handler_)
1399914000 joint_schema_handler_->DestroyJointSchemaHandler(v->joint_schema_handler_);
14001+ #endif // RAPIDJSON_YGGDRASIL
1400014002 v->~GenericSchemaValidator();
1400114003 StateAllocator::Free(v);
1400214004 }
You can’t perform that action at this time.
0 commit comments