summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2022-10-24 01:18:57 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-12-04 15:24:25 +0000
commit0c0d9c324087e4018929aabf5dc5ba5d8a3873b1 (patch)
treea829c89a3509e744072039d5367c0b6c2987b326
parent16c0a9b102e99ec7aa3c880e034d8aa7b9c5b4f7 (diff)
downloadnautilus-0c0d9c324087e4018929aabf5dc5ba5d8a3873b1.tar.gz
properties-window: Also free list of users
To avoid leak.
-rw-r--r--src/nautilus-properties-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index c66486841..b701c9b3d 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -1975,6 +1975,7 @@ update_owner_row (AdwComboRow *row,
GList *users = nautilus_get_user_names ();
update_combo_row_dropdown (row, users);
+ g_list_free_full (users, g_free);
/* display current owner */
select_ownership_row_entry (row, owner_name, string_list_item_starts_with_word);