mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
jifmux: Fix leaks on check test
Fix leaks in jifmux check test
This commit is contained in:
parent
7cbd6c231b
commit
bbf331fb6b
1 changed files with 3 additions and 0 deletions
|
@ -807,6 +807,7 @@ check_content (ExifContent * content, void *user_data)
|
|||
|
||||
fail_unless (strcmp (str, taglist_str) == 0);
|
||||
test_data->result = TRUE;
|
||||
g_free (taglist_str);
|
||||
}
|
||||
break;
|
||||
case EXIF_TYPE_RATIONAL:{
|
||||
|
@ -886,6 +887,7 @@ check_content (ExifContent * content, void *user_data)
|
|||
}
|
||||
|
||||
test_data->result = TRUE;
|
||||
gst_buffer_unref (buf);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
@ -927,6 +929,7 @@ generate_jif_file_with_tags_from_taglist (GstTagList * taglist,
|
|||
|
||||
pipeline = gst_parse_launch (launchline, NULL);
|
||||
fail_unless (pipeline != NULL);
|
||||
g_free (launchline);
|
||||
|
||||
jifmux = gst_bin_get_by_name (GST_BIN (pipeline), "jifmux0");
|
||||
fail_unless (jifmux != NULL);
|
||||
|
|
Loading…
Reference in a new issue