[subset] Add missing destroy of subsetting result in subset fuzzer.

This commit is contained in:
Garret Rieger 2018-03-12 16:33:47 -07:00 committed by Behdad Esfahbod
parent 1beb08862e
commit b674fc1f9f
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
hb_face_t *result = hb_subset (face, profile, input); hb_face_t *result = hb_subset (face, profile, input);
hb_face_destroy (result);
hb_subset_input_destroy (input); hb_subset_input_destroy (input);
hb_subset_profile_destroy (profile); hb_subset_profile_destroy (profile);
hb_face_destroy (face); hb_face_destroy (face);