commit | 8357b5d2fd425df17903a465aaa5b474c52348cc | [log] [tgz] |
---|---|---|
author | Cristy <urban-warrior@imagemagick.org> | Sun Nov 22 12:39:10 2020 +0000 |
committer | Cristy <urban-warrior@imagemagick.org> | Sun Nov 22 12:39:10 2020 +0000 |
tree | fe08935f4c37d156b46fcc41f7ed571eaf2bb819 | |
parent | f22157954414fd500e1725c4ff99e9a48331f775 [diff] [blame] |
revert to avert possible thread lock
diff --git a/coders/json.c b/coders/json.c index 6ff81e0..d61c3d3 100644 --- a/coders/json.c +++ b/coders/json.c
@@ -787,7 +787,7 @@ sizeof(*values)); if (values == (IPTCInfo **) NULL) break; - value=(IPTCInfo *) AcquireQuantumMemory(1,sizeof(*value)); + value=(IPTCInfo *) AcquireMagickMemory(sizeof(*value)); if (value == (IPTCInfo *) NULL) break; /* Check the tag length in IPTCInfo when a new tag is added */