From 2d589ec36502914fd1791046b1235e6bff91d7e6 Mon Sep 17 00:00:00 2001 From: msizanoen1 Date: Mon, 29 Aug 2022 21:53:33 +0700 Subject: [PATCH] Revert "shell: Fix pixbuf reference leak saving screenshots" This reverts commit f5754adb681d55e985147b56de9c2b30c8cbc9f1 in accordance with https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2449#note_1539435. Part-of: --- src/shell-screenshot.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shell-screenshot.c b/src/shell-screenshot.c index c173dd5d8..fcf2da236 100644 --- a/src/shell-screenshot.c +++ b/src/shell-screenshot.c @@ -1061,7 +1061,6 @@ composite_to_stream_on_png_saved (GObject *pixbuf, else g_task_return_pointer (task, g_object_ref (pixbuf), g_object_unref); - g_object_unref (pixbuf); g_object_unref (task); }