Commit ddbd2ef0 authored by Milo Yip's avatar Milo Yip

Restore missing deallocation of GenericSchemaValidator::nullHandler_

parent b963eb44
......@@ -1623,6 +1623,10 @@ public:
//! Destructor.
~GenericSchemaValidator() {
Reset();
if (nullHandler_) {
nullHandler_->~OutputHandler();
StateAllocator::Free(nullHandler_);
}
RAPIDJSON_DELETE(ownStateAllocator_);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment