diff options
| author | Kenny Daniel <[email protected]> | 2026-04-12 23:49:18 -0700 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-05-04 19:29:44 -0400 |
| commit | 4c21c5e084a4fda3fe93a4fd98211794bb149717 (patch) | |
| tree | 921d5a276ad938c037c63a3a5b0fe492cfae0f7a | |
| parent | 454fec53b5ef0d6e779051c499df29b576e05094 (diff) | |
| download | mate-indicator-applet-master.tar.bz2 mate-indicator-applet-master.tar.xz | |
indicator_object_get_entries() returns a newly-allocated GList that
must be freed by the caller. entry_resized() was missing the
g_list_free() call, leaking GList nodes on every panel change-size
signal.
The other callers of indicator_object_get_entries() in this file
(menu_show at line 589, load_indicator at line 657) correctly free
the returned list.
| -rw-r--r-- | src/applet-main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/applet-main.c b/src/applet-main.c index 41c0c66..a5f6662 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -380,6 +380,8 @@ entry_resized (GtkWidget *applet, guint newsize, gpointer data) } } + g_list_free(entries); + return FALSE; } |
