Skip to content

Commit

Permalink
fix(pixbuf): possibly fix core dump
Browse files Browse the repository at this point in the history
Not really sure, would need to investigate a bit more.
  • Loading branch information
jtheoof committed Jun 17, 2020
1 parent 7a9be5d commit 8a82e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void pixbuf_save_to_stdout(GdkPixbuf *pixbuf) {

out = g_unix_output_stream_new(STDOUT_FILENO, TRUE);

gdk_pixbuf_save_to_stream(pixbuf, out, "png", NULL, &error);
gdk_pixbuf_save_to_stream(pixbuf, out, "png", NULL, &error, NULL);

if (error != NULL) {
g_warning("unable to save surface to stdout: %s", error->message);
Expand Down

0 comments on commit 8a82e79

Please sign in to comment.