diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-14 13:48:51 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-14 13:51:55 +0100 |
commit | 0eafbf0701d9d3676d6373e35801591b115943b0 (patch) | |
tree | a5f91e59afc6ca2ec27fc5c55779d004126cdfe0 /fitz | |
parent | dcd46be075472a8899429416f9484d246929600b (diff) | |
download | mupdf-0eafbf0701d9d3676d6373e35801591b115943b0.tar.xz |
Fix memory leaks in style sheet handling of the new text device.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/dev_text.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fitz/dev_text.c b/fitz/dev_text.c index 7a059e5a..d5c0cea9 100644 --- a/fitz/dev_text.c +++ b/fitz/dev_text.c @@ -39,6 +39,7 @@ fz_free_text_sheet(fz_context *ctx, fz_text_sheet *sheet) fz_free(ctx, style); style = next; } + fz_free(ctx, sheet); } static fz_text_style * |