diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-02-18 15:51:16 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-02-23 13:55:29 +0100 |
commit | 74c2a25b7a6a11c087baf4626f47cd2f3fbf2103 (patch) | |
tree | 9ac06806f9d66a68a1d26b47a8e884b6fc3581e7 | |
parent | 77c90c54e5c311c83a50017074a663db13abfa09 (diff) | |
download | mupdf-74c2a25b7a6a11c087baf4626f47cd2f3fbf2103.tar.xz |
Fix double-malloc error.
-rw-r--r-- | source/fitz/svg-device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c index 8d977597..4345c225 100644 --- a/source/fitz/svg-device.c +++ b/source/fitz/svg-device.c @@ -1046,8 +1046,6 @@ fz_device *fz_new_svg_device(fz_context *ctx, fz_output *out, float page_width, { svg_device *dev = fz_new_device(ctx, sizeof *dev); - dev = fz_new_device(ctx, sizeof *dev); - dev->super.drop_imp = svg_dev_drop_imp; dev->super.fill_path = svg_dev_fill_path; |