Skip to content
Permalink
Browse files

Fix a small memory leak

  • Loading branch information...
Cristy
Cristy committed Dec 11, 2016
1 parent 11d48fe commit aeff00de228bc5a158c2a975ab47845d8a1db456
Showing with 3 additions and 3 deletions.
  1. +1 −1 ChangeLog
  2. +1 −1 coders/caption.c
  3. +1 −1 coders/label.c
@@ -1,5 +1,5 @@
2016-12-10 6.9.6-8 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.6-8, GIT revision 11218:2f8c6dd:20161210.
* Release ImageMagick version 6.9.6-8, GIT revision 11219:11d48fe:20161210.

2016-12-07 6.9.6-8 Cristy <quetzlzacatenango@image...>
* Set colorspace to sRGB if -append has non-homogenous colorspaces (reference
@@ -275,7 +275,7 @@ static Image *ReadCAPTIONImage(const ImageInfo *image_info,
draw_info->direction == RightToLeftDirection ? image->columns-
metrics.bounds.x2 : -metrics.bounds.x1,0.0),draw_info->gravity ==
UndefinedGravity ? metrics.ascent : 0.0);
draw_info->geometry=AcquireString(geometry);
(void) CloneString(&draw_info->geometry,geometry);
status=AnnotateImage(image,draw_info);
if (image_info->pointsize == 0.0)
{
@@ -237,7 +237,7 @@ static Image *ReadLABELImage(const ImageInfo *image_info,
draw_info->direction == RightToLeftDirection ? image->columns-
metrics.bounds.x2 : 0.0,draw_info->gravity == UndefinedGravity ?
metrics.ascent : 0.0);
draw_info->geometry=AcquireString(geometry);
(void) CloneString(&draw_info->geometry,geometry);
status=AnnotateImage(image,draw_info);
if (image_info->pointsize == 0.0)
{

0 comments on commit aeff00d

Please sign in to comment.
You can’t perform that action at this time.