summaryrefslogtreecommitdiff
path: root/pngread.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 15:41:36 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 15:41:36 -0600
commitb4ef7c4af2d5e1975be59794b9fc5281d72acb70 (patch)
tree389e0258a8b3488b193bc902b26f42cf8e701f24 /pngread.c
parent9e8fd50d7600f91fc4d3b4c876a3759bc54c2bd9 (diff)
downloadlibpng-b4ef7c4af2d5e1975be59794b9fc5281d72acb70.tar.gz
[libpng16] Use parentheses consistently in "#if defined()" tests.
Folded some long lines.
Diffstat (limited to 'pngread.c')
-rw-r--r--pngread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngread.c b/pngread.c
index 96e79f63c..a6876d843 100644
--- a/pngread.c
+++ b/pngread.c
@@ -877,8 +877,8 @@ png_read_destroy(png_structrp png_ptr)
png_free(png_ptr, png_ptr->save_buffer);
#endif
-#if (defined PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED) &&\
- (defined PNG_READ_UNKNOWN_CHUNKS_SUPPORTED)
+#if defined(PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED) &&\
+ defined(PNG_READ_UNKNOWN_CHUNKS_SUPPORTED)
png_free(png_ptr, png_ptr->unknown_chunk.data);
#endif