[gnome-shell] Revert "shell: Fix pixbuf reference leak saving screenshots"
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Revert "shell: Fix pixbuf reference leak saving screenshots"
- Date: Mon, 29 Aug 2022 21:30:20 +0000 (UTC)
commit 2d589ec36502914fd1791046b1235e6bff91d7e6
Author: msizanoen1 <msizanoen qtmlabs xyz>
Date: Mon Aug 29 21:53:33 2022 +0700
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2452>
src/shell-screenshot.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/shell-screenshot.c b/src/shell-screenshot.c
index c173dd5d8e..fcf2da2365 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]