Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix a small memory leak
  • Loading branch information
Cristy committed Dec 11, 2016
1 parent 11d48fe commit aeff00d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion coders/caption.c
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion coders/label.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit aeff00d

Please sign in to comment.