diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2011-01-28 17:12:09 +0000 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2011-01-28 17:12:09 +0000 |
commit | 59eba591b0dab73312453b914632f0262705d21d (patch) | |
tree | 84a3eaf1ae58721280d028bbfb8db27ee2862755 /gs/base/gxidata.c | |
parent | 995727cbdbd71e2274c97596f75695d5769b1c84 (diff) |
Movement of memory allocations into image enumeration set-up. Fix also for bug that was causing a rendering error due to a skipped line in the indexing. Still need to get HAVE_SSE2 defined/set-up for windows build.
git-svn-id: http://svn.ghostscript.com/ghostscript/branches/halftone@12075 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/gxidata.c')
-rw-r--r-- | gs/base/gxidata.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gs/base/gxidata.c b/gs/base/gxidata.c index a49092904..55f9d4f0f 100644 --- a/gs/base/gxidata.c +++ b/gs/base/gxidata.c @@ -475,10 +475,14 @@ gx_image1_end_image(gx_image_enum_common_t * info, bool draw_last) "image is_transparent"); gs_free_object(mem, penum->color_cache, "image color cache"); } - if (penum->landscape_byte_buff != NULL) { - gs_free_object(mem, penum->landscape_byte_buff, - "image landscape_byte_buff"); - } + if (penum->thresh_buffer != NULL) { + gs_free_object(mem, penum->thresh_buffer, + "image thresh_buffer"); + } + if (penum->ht_buffer != NULL) { + gs_free_object(mem, penum->ht_buffer, + "image ht_buffer"); + } if (penum->clues != NULL) { gs_free_object(mem,penum->clues, "image clues"); } |