diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-10-02 12:30:11 +0800 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-10-23 18:46:01 +0200 |
commit | 127f294690a06b757de8ac760a69847b88356b3b (patch) | |
tree | e484cb4d573ca07738168650c873137f4132cf0b | |
parent | fd87e402bb17998c623ccb4b39a3812816034d0e (diff) | |
download | mupdf-127f294690a06b757de8ac760a69847b88356b3b.tar.xz |
Drop coords upon exception cloning path.
-rw-r--r-- | source/fitz/path.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/path.c b/source/fitz/path.c index 56510329..5bb669e1 100644 --- a/source/fitz/path.c +++ b/source/fitz/path.c @@ -1544,6 +1544,7 @@ fz_clone_path(fz_context *ctx, fz_path *path) } fz_catch(ctx) { + fz_free(ctx, new_path->coords); fz_free(ctx, new_path->cmds); fz_free(ctx, new_path); fz_rethrow(ctx); |