From 97fd830175933b81fdb59300e657f2ddd73e1623 Mon Sep 17 00:00:00 2001 From: Steve Hanson Date: Wed, 30 Nov 2022 11:24:10 +0000 Subject: [PATCH] attempt to fix SEH --- include/rapidjson/schema.h | 4 ++++ 1 file changed, 4 insertions(+) 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_); }