From 38440a59319ffebf30d19343319a270abd05a654 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Wed, 5 Apr 2017 14:09:53 -0700 Subject: [PATCH] validate: report: avoid _strdup_printf() if not needed g_strdup() is enough for this string literal. --- validate/gst/validate/gst-validate-report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-report.c b/validate/gst/validate/gst-validate-report.c index 98e4a5f6cf..c5d591ef7c 100644 --- a/validate/gst/validate/gst-validate-report.c +++ b/validate/gst/validate/gst-validate-report.c @@ -815,7 +815,7 @@ print_action_parameter (GString * string, GstValidateActionType * type, g_regex_replace (newline_regex, param->description, -1, 0, tmp, 0, NULL); } else { - desc = g_strdup_printf ("No description"); + desc = g_strdup ("No description"); } g_string_append_printf (string, "\n %-30s : %s", param_head, desc);