mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
Fixed possible memory leak.
This commit is contained in:
@@ -1881,6 +1881,7 @@ void Magick::Image::annotate(const std::string &text_,
|
||||
(void) CopyMagickString(boundingArea,
|
||||
std::string(boundingArea_).c_str(), MagickPathExtent);
|
||||
}
|
||||
drawInfo->geometry=DestroyString(drawInfo->geometry);
|
||||
drawInfo->geometry=boundingArea;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user