From 8741914a8043757d4800b14192980fbc1ea24492 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Mon, 29 Mar 2021 16:39:44 -0700 Subject: [PATCH] [subset] fix memory leak when map insert fails. --- src/hb-ot-layout-common.hh | 17 ++++++++++++----- ...minimized-hb-subset-fuzzer-6421315436281856 | Bin 0 -> 59 bytes 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-6421315436281856 diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 5b758a875..384127c52 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -485,7 +485,7 @@ struct RecordListOfScript : RecordListOf