[libadwaita/libadwaita-1-0] view-switcher-title: Fix a leak
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/libadwaita-1-0] view-switcher-title: Fix a leak
- Date: Mon, 14 Feb 2022 10:53:28 +0000 (UTC)
commit d722f9531551624fafd49315294e4d68ede69237
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Feb 14 15:01:10 2022 +0500
view-switcher-title: Fix a leak
(cherry picked from commit 38f351404eea58352bd11c79663bf56bcb0bd2bf)
src/adw-view-switcher-title.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/adw-view-switcher-title.c b/src/adw-view-switcher-title.c
index 88df0517..d4334496 100644
--- a/src/adw-view-switcher-title.c
+++ b/src/adw-view-switcher-title.c
@@ -126,6 +126,8 @@ update_view_switcher_visible (AdwViewSwitcherTitle *self)
if (adw_view_stack_page_get_visible (page))
count++;
+
+ g_object_unref (page);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]