summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-22 22:00:37 +0200
committerraveit65 <[email protected]>2022-01-26 10:30:50 +0100
commit0f40ca0d6d741f3f29ffb86595da3d20568d6381 (patch)
treecb4ae772170588ed6e61ad2e6f1569b45ebe1a4d
parent1b095193581ff2e6afdfb6de1a8c5053b1035da1 (diff)
downloadmate-panel-0f40ca0d6d741f3f29ffb86595da3d20568d6381.tar.bz2
mate-panel-0f40ca0d6d741f3f29ffb86595da3d20568d6381.tar.xz
panel-test-applets: fix memory leak
-rw-r--r--mate-panel/panel-test-applets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-test-applets.c b/mate-panel/panel-test-applets.c
index 0a5598ee..42768eb5 100644
--- a/mate-panel/panel-test-applets.c
+++ b/mate-panel/panel-test-applets.c
@@ -287,8 +287,8 @@ setup_options (void)
gtk_list_store_append (model, &iter);
gtk_list_store_set (model, &iter,
- COLUMN_TEXT, g_strdup (mate_panel_applet_info_get_name (info)),
- COLUMN_ITEM, g_strdup (mate_panel_applet_info_get_iid (info)),
+ COLUMN_TEXT, mate_panel_applet_info_get_name (info),
+ COLUMN_ITEM, mate_panel_applet_info_get_iid (info),
-1);
}
g_list_free (applet_list);