mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[wasm-sample] Free blob data for now
This commit is contained in:
parent
d45a13f101
commit
3bec8dca1c
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <hb-wasm-api.h>
|
||||
|
||||
void free (void*);
|
||||
|
||||
void debugprint1 (char *s, int32_t);
|
||||
void debugprint2 (char *s, int32_t, int32_t);
|
||||
|
||||
|
@ -14,6 +16,8 @@ shape (font_t font, buffer_t buffer)
|
|||
|
||||
debugprint1 ("cmap length", blob.length);
|
||||
|
||||
free (blob.data);
|
||||
|
||||
buffer_contents_t contents = buffer_copy_contents (buffer);
|
||||
|
||||
debugprint1 ("buffer length", contents.length);
|
||||
|
|
Loading…
Add table
Reference in a new issue