projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c763083
)
validateflow: Plug leak
author
Thibault Saunier
<tsaunier@igalia.com>
Tue, 9 Jun 2020 21:29:08 +0000
(17:29 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Wed, 10 Jun 2020 21:30:34 +0000
(17:30 -0400)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/205>
validate/gst/validate/flow/formatting.c
patch
|
blob
|
history
diff --git
a/validate/gst/validate/flow/formatting.c
b/validate/gst/validate/flow/formatting.c
index
aaead5f
..
d9c2cee
100644
(file)
--- a/
validate/gst/validate/flow/formatting.c
+++ b/
validate/gst/validate/flow/formatting.c
@@
-387,7
+387,6
@@
validate_flow_format_event (GstEvent * event,
for (field = ignored_fields[i]; field; field = ignored_fields[++i])
gst_structure_remove_field (printable, field);
- g_strfreev (ignored_fields);
}
}
@@
-397,6
+396,7
@@
validate_flow_format_event (GstEvent * event,
event_string = g_strdup_printf ("%s: %s", event_type, structure_string);
g_strfreev (logged_fields);
+ g_strfreev (ignored_fields);
g_free (structure_string);
return event_string;
}