summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-22 22:00:37 +0200
committerrbuj <[email protected]>2021-10-22 22:00:37 +0200
commit84c9d89e78e2ace9001a86bc65e2629b60bf4d0e (patch)
treefed7b983778a5b7ba22b22a63bd9812ddab4fa51
parent7ded0f4d0a518169453c90f3c278f78e7345051b (diff)
downloadmate-panel-panel-test-applets-ml.tar.bz2
mate-panel-panel-test-applets-ml.tar.xz
panel-test-applets: fix memory leakpanel-test-applets-ml
-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);