[test] Fix test-name-table.cc leak issue

Spotted it accidentally but wanted to see if is anything serious so went for fixing it
This commit is contained in:
Ebrahim Byagowi 2018-12-19 21:18:30 +03:30 committed by GitHub
parent 3d9d7dc4dd
commit 0c9cd5d5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -63,5 +63,7 @@ main (int argc, char **argv)
printf ("%s\n", buf); printf ("%s\n", buf);
} }
hb_face_destroy (face);
return count ? 0 : 1; return count ? 0 : 1;
} }