Skip to content

Commit

Permalink
destroy the face or there is a memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
alsotang authored and ebraminio committed Jul 3, 2021
1 parent c141d58 commit 80d59e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subset/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ const writeFileAsync = require('util').promisify(fs.writeFile);
/* Clean up */
exports.hb_blob_destroy(result);
exports.hb_face_destroy(subset);
exports.hb_face_destroy(face);
exports.free(fontBuffer);
})();

0 comments on commit 80d59e8

Please sign in to comment.