Revert "shell: Fix pixbuf reference leak saving screenshots"

This reverts commit f5754adb68 in
accordance with https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2449#note_1539435.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2452>
This commit is contained in:
msizanoen1 2022-08-29 21:53:33 +07:00
parent f5754adb68
commit 2d589ec365

View File

@ -1061,7 +1061,6 @@ composite_to_stream_on_png_saved (GObject *pixbuf,
else else
g_task_return_pointer (task, g_object_ref (pixbuf), g_object_unref); g_task_return_pointer (task, g_object_ref (pixbuf), g_object_unref);
g_object_unref (pixbuf);
g_object_unref (task); g_object_unref (task);
} }