diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-17 11:16:22 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-17 11:16:22 +0000 |
commit | 880ed0a3dd992d4ab6b8f1d73f862fb930dc2eaa (patch) | |
tree | aa2d80d55cc66f9be936ea4d1459130e1d7be258 /draw/draw_edge.c | |
parent | b20c8c628feab388f5d9b738326b8fbc35d8a742 (diff) | |
download | mupdf-880ed0a3dd992d4ab6b8f1d73f862fb930dc2eaa.tar.xz |
More Memory Squeezing fixes.
Diffstat (limited to 'draw/draw_edge.c')
-rw-r--r-- | draw/draw_edge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/draw/draw_edge.c b/draw/draw_edge.c index 952050fa..76187bef 100644 --- a/draw/draw_edge.c +++ b/draw/draw_edge.c @@ -222,6 +222,8 @@ fz_reset_gel(fz_gel *gel, fz_bbox clip) void fz_free_gel(fz_gel *gel) { + if (gel == NULL) + return; fz_free(gel->ctx, gel->active); fz_free(gel->ctx, gel->edges); fz_free(gel->ctx, gel); |