diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index a57a727..c1bb0a0 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -1733,6 +1733,10 @@ public: Allocator::Free(typeless_); } + uri_.SetNull(); + error_.SetNull(); + currentError_.SetNull(); + RAPIDJSON_DELETE(ownAllocator_); }