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 d07d8ba2d2
commit 8f2d6f2975

View File

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