projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7e63b
)
Removed unnecessary check.
author
Dirk Lemstra
<dirk@git.imagemagick.org>
Tue, 2 May 2017 06:47:04 +0000
(08:47 +0200)
committer
Dirk Lemstra
<dirk@git.imagemagick.org>
Tue, 2 May 2017 06:47:04 +0000
(08:47 +0200)
coders/png.c
patch
|
blob
|
history
diff --git
a/coders/png.c
b/coders/png.c
index 7413f1fb5a3822d8ab237fc674486e4dca5ea6c7..cbe6bdd3d8e9aee7d312ed5cbab7238164ad4d86 100644
(file)
--- a/
coders/png.c
+++ b/
coders/png.c
@@
-3832,8
+3832,7
@@
static Image *ReadOnePNGImage(MngInfo *mng_info,
}
}
- if (quantum_info != (QuantumInfo *) NULL)
- quantum_info=DestroyQuantumInfo(quantum_info);
+ quantum_info=DestroyQuantumInfo(quantum_info);
if (image->storage_class == PseudoClass)
{