From 93ceed58e923c41814b05524c02faf03adf3d761 Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 13 Nov 2015 10:44:00 +0300 Subject: display properties: don't try to free a string literal (fix crash) crash introduced in https://github.com/mate-desktop/mate-control-center/commit/c6935f255ea711557c3c5e0e3ae8439e59c9a7aa --- capplets/display/xrandr-capplet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capplets') diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index 126084ed..04360c4c 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -1665,7 +1665,7 @@ get_display_name (App *app, * used as an adjective, not as a verb. For example, the Spanish * translation could be "Pantallas en Espejo", *not* "Espejar Pantallas". */ - text = _("Mirror Screens"); + text = g_strdup_printf (_("Mirror Screens")); } else { text = g_strdup_printf ("%s\n%s", mate_rr_output_info_get_display_name (output), mate_rr_output_info_get_name (output)); -- cgit v1.2.1