[gnome-applets] sticky-notes: fix memory leak
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] sticky-notes: fix memory leak
- Date: Sun, 2 Oct 2022 14:30:48 +0000 (UTC)
commit 1c5788b6984d10f7610fdf53bb224e2fd8e0ef6a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Oct 2 17:19:20 2022 +0300
sticky-notes: fix memory leak
gnome-applets/sticky-notes/sticky-notes-applet.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gnome-applets/sticky-notes/sticky-notes-applet.c
b/gnome-applets/sticky-notes/sticky-notes-applet.c
index b84a0fea4..adc0f11a4 100644
--- a/gnome-applets/sticky-notes/sticky-notes-applet.c
+++ b/gnome-applets/sticky-notes/sticky-notes-applet.c
@@ -264,6 +264,8 @@ sticky_notes_applet_dispose (GObject *object)
g_clear_pointer (&self->destroy_all_dialog, gtk_widget_destroy);
g_clear_pointer (&self->w_prefs, gtk_widget_destroy);
+ g_clear_object (&self->settings);
+
G_OBJECT_CLASS (sticky_notes_applet_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]