mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
validate: report: avoid _strdup_printf() if not needed
g_strdup() is enough for this string literal.
This commit is contained in:
parent
c8478b87f8
commit
38440a5931
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue