Imported from libpng-1.0.8.tar
diff --git a/pngwrite.c b/pngwrite.c
index 7c1150c..167e770 100644
--- a/pngwrite.c
+++ b/pngwrite.c
@@ -1,7 +1,7 @@
/* pngwrite.c - general routines to write a PNG file
*
- * libpng 1.0.8rc1 - July 17, 2000
+ * libpng 1.0.8 - July 24, 2000
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -375,6 +375,7 @@
/* write end of PNG file */
png_write_IEND(png_ptr);
+ png_flush(png_ptr);
}
#if defined(PNG_WRITE_tIME_SUPPORTED)