aboutsummaryrefslogtreecommitdiff
path: root/typst/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'typst/example.c')
-rw-r--r--typst/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/typst/example.c b/typst/example.c
index a1df659..39e7a06 100644
--- a/typst/example.c
+++ b/typst/example.c
@@ -4,6 +4,6 @@
int main() {
const char* res = typst_generateSVG("Hello world");
printf("%s\n", res);
- typst_freeSVG(res);
+ typst_freeString(res);
return 0;
}