[gnome-software/flatpak-dispose-monitor] flatpak: Add missing unref of GFileMonitor
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/flatpak-dispose-monitor] flatpak: Add missing unref of GFileMonitor
- Date: Fri, 25 Feb 2022 22:19:08 +0000 (UTC)
commit b40099448006f860ebbcb7e1efb5f5d2a4fb7459
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Thu Feb 24 15:28:13 2022 -0800
flatpak: Add missing unref of GFileMonitor
plugins/flatpak/gs-flatpak.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 0ce1b7e0e..0f41babe8 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -4053,6 +4053,8 @@ gs_flatpak_finalize (GObject *object)
}
if (self->silo != NULL)
g_object_unref (self->silo);
+ if (self->monitor != NULL)
+ g_object_unref (self->monitor);
g_free (self->id);
g_object_unref (self->installation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]