mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
...
This commit is contained in:
@@ -4877,8 +4877,6 @@ void Magick::Image::write(Blob *blob_)
|
||||
data=ImagesToBlob(constImageInfo(),image(),&length,exceptionInfo);
|
||||
if (length > 0)
|
||||
blob_->updateNoCopy(data,length,Blob::MallocAllocator);
|
||||
if (data != NULL)
|
||||
data=RelinquishMagickMemory(data);
|
||||
ThrowImageException;
|
||||
}
|
||||
|
||||
@@ -4896,8 +4894,6 @@ void Magick::Image::write(Blob *blob_,const std::string &magick_)
|
||||
data=ImagesToBlob(constImageInfo(),image(),&length,exceptionInfo);
|
||||
if (length > 0)
|
||||
blob_->updateNoCopy(data,length,Blob::MallocAllocator);
|
||||
if (data != NULL)
|
||||
data=RelinquishMagickMemory(data);
|
||||
ThrowImageException;
|
||||
}
|
||||
|
||||
@@ -4917,8 +4913,6 @@ void Magick::Image::write(Blob *blob_,const std::string &magick_,
|
||||
data=ImagesToBlob(constImageInfo(),image(),&length,exceptionInfo);
|
||||
if (length > 0)
|
||||
blob_->updateNoCopy(data,length,Blob::MallocAllocator);
|
||||
if (data != NULL)
|
||||
data=RelinquishMagickMemory(data);
|
||||
ThrowImageException;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user