commit | 6f24088d2a13ef258194019743796c75fa21e759 | [log] [tgz] |
---|---|---|
author | Cristy <urban-warrior@imagemagick.org> | Sat Nov 04 20:17:29 2017 -0400 |
committer | Cristy <urban-warrior@imagemagick.org> | Sat Nov 04 20:17:29 2017 -0400 |
tree | e5d395fa837737a6f499787756c08c6a3f2ec11e | |
parent | 2130bf6f89ded32ef0c88a11694f107c52566c53 [diff] [blame] |
...
diff --git a/MagickCore/matrix.c b/MagickCore/matrix.c index 6b369b0..e83baec 100644 --- a/MagickCore/matrix.c +++ b/MagickCore/matrix.c
@@ -274,10 +274,7 @@ matrix_info->elements=(void *) MapBlob(matrix_info->file,IOMode,0, (size_t) matrix_info->length); if (matrix_info->elements != NULL) - { - RelinquishMagickResource(DiskResource,matrix_info->length); - matrix_info->type=MapCache; - } + matrix_info->type=MapCache; else RelinquishMagickResource(MapResource,matrix_info->length); }