diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-02-29 20:19:54 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-02-29 20:19:54 +0000 |
commit | 0f1a9b148f52acbff16d3cae34d02ef806a73571 (patch) | |
tree | 5ea90f79a62c3ae0cc599b016fa21290c30a2872 /pdf/pdf_type3.c | |
parent | 4a80adff52b8f4fc4f7f0aba8d3583953ddde824 (diff) | |
download | mupdf-0f1a9b148f52acbff16d3cae34d02ef806a73571.tar.xz |
Fix typo that causes an undefined pointer to be freed.
When a font is destroyed the t3 resources are freed; due to a typo
a random pointer was being freed.
Diffstat (limited to 'pdf/pdf_type3.c')
-rw-r--r-- | pdf/pdf_type3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_type3.c b/pdf/pdf_type3.c index 7a3b985f..dc931e22 100644 --- a/pdf/pdf_type3.c +++ b/pdf/pdf_type3.c @@ -11,7 +11,7 @@ pdf_run_glyph_func(void *doc, void *rdb_, fz_buffer *contents, fz_device *dev, f static void pdf_t3_free_resources(void *doc, void *rdb_) { - pdf_obj *rdb = (pdf_obj *)rdb; + pdf_obj *rdb = (pdf_obj *)rdb_; pdf_drop_obj(rdb); } |