GUAC-240: Force flush at end of PNG write.

This commit is contained in:
Michael Jumper 2015-08-11 16:25:52 -07:00
parent 859f7d9340
commit 56fa7423f3

View File

@ -396,6 +396,8 @@ int guac_png_write(guac_socket* socket, guac_stream* stream,
free(png_rows[y]); free(png_rows[y]);
free(png_rows); free(png_rows);
/* Ensure all data is written */
guac_png_flush_data(&write_state);
return 0; return 0;
} }