Restore missing deallocation of GenericSchemaValidator::nullHandler_
This commit is contained in:
parent
b963eb447b
commit
ddbd2ef05d
@ -1623,6 +1623,10 @@ public:
|
||||
//! Destructor.
|
||||
~GenericSchemaValidator() {
|
||||
Reset();
|
||||
if (nullHandler_) {
|
||||
nullHandler_->~OutputHandler();
|
||||
StateAllocator::Free(nullHandler_);
|
||||
}
|
||||
RAPIDJSON_DELETE(ownStateAllocator_);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user