diff options
Diffstat (limited to 'docs/multi-threaded.c')
-rw-r--r-- | docs/multi-threaded.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/multi-threaded.c b/docs/multi-threaded.c index 2742fdf8..c5df1f4e 100644 --- a/docs/multi-threaded.c +++ b/docs/multi-threaded.c @@ -272,7 +272,7 @@ int main(int argc, char **argv) // Finally the document is closed and the main thread's // context is freed. - fz_close_document(doc); + fz_drop_document(doc); fz_free_context(ctx); return 0; |