mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
validate: Don't leak strings
We only use them in the error/debug case anyway
This commit is contained in:
parent
c33b2e240c
commit
9acfa7fe4b
1 changed files with 2 additions and 2 deletions
|
@ -425,10 +425,10 @@ compare_streams (GstValidateMediaDescriptor * ref,
|
|||
if (stream_id_is_equal (ref->filenode->uri, rstream->id, cstream->id)) {
|
||||
GstCaps *rcaps = caps_cleanup_parsing_fields (rstream->caps),
|
||||
*ccaps = caps_cleanup_parsing_fields (cstream->caps);
|
||||
gchar *rcaps_str = gst_caps_to_string (rcaps),
|
||||
*ccaps_str = gst_caps_to_string (ccaps);
|
||||
|
||||
if (!gst_caps_is_equal (rcaps, ccaps)) {
|
||||
gchar *rcaps_str = gst_caps_to_string (rcaps),
|
||||
*ccaps_str = gst_caps_to_string (ccaps);
|
||||
GST_VALIDATE_REPORT (ref, FILE_PROFILE_INCORRECT,
|
||||
"Reference descriptor for stream %s has caps: %s"
|
||||
" but compared stream %s has caps: %s",
|
||||
|
|
Loading…
Reference in a new issue