Commit 2f1252db authored by Paolo Bacchilega's avatar Paolo Bacchilega

jpeg: added note on why surface is set to NULL

parent 8e80a540
......@@ -582,7 +582,7 @@ _cairo_image_surface_create_from_jpeg (GInputStream *istream,
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_CANCELLED, "");
cairo_surface_destroy (surface);
surface = NULL;
surface = NULL; /* ignore other jpeg errors */
}
if (read_all_scanlines)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment