Fix memleak only happening on fuzzer
Fix memleak only happening on fuzzer

See https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6026

Credit to oss-fuzz

JGrothoff/open62541,jpfr/open62541,open62541/open62541,open62541/open62541,jpfr/open62541,JGrothoff/open62541,jpfr/open62541,jpfr/open62541,open62541/open62541,JGrothoff/open62541,StalderT/open62541,StalderT/open62541,StalderT/open62541,JGrothoff/open62541,StalderT/open62541,open62541/open62541