mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: report: don't shadow the GString variable
We were leaking the GString as it's freed outside of the block.
This commit is contained in:
parent
3a275d2212
commit
e9aeca28a8
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ gst_validate_print_action (GstValidateAction * action, const gchar * message)
|
|||
GString *string = NULL;
|
||||
|
||||
if (message == NULL) {
|
||||
GString *string = g_string_new (gst_structure_get_name (action->structure));
|
||||
string = g_string_new (gst_structure_get_name (action->structure));
|
||||
|
||||
g_string_append_len (string, ": ", 2);
|
||||
gst_structure_foreach (action->structure,
|
||||
|
|
Loading…
Reference in a new issue