summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-22 22:00:37 +0200
committerLuke from DC <[email protected]>2021-12-14 21:24:50 +0000
commit94f3ec8c654363cd6a245eb9dca7c54f1b8f5649 (patch)
treeab64b284bd8c0f6d72fbd4a40fd6a3dab07e3f19
parentc92b3aa972b3b2a7a00dfb2b3f9c4d96add929e2 (diff)
downloadmate-panel-94f3ec8c654363cd6a245eb9dca7c54f1b8f5649.tar.bz2
mate-panel-94f3ec8c654363cd6a245eb9dca7c54f1b8f5649.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 05b60cd1..8809f855 100644
--- a/mate-panel/panel-test-applets.c
+++ b/mate-panel/panel-test-applets.c
@@ -285,8 +285,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);