GNOME Bugzilla – Bug 797226
gst: Fix string leak when G_VALUE_COLLECT_INIT() was failed
Last modified: 2018-11-03 12:48:49 UTC
Returned string should be freed
Created attachment 373808 [details] [review] gst: Fix string leak when G_VALUE_COLLECT_INIT() was failed
Created attachment 373809 [details] [review] tests: caps: Add more broken caps test case
Comment on attachment 373809 [details] [review] tests: caps: Add more broken caps test case >+ gst_caps_new_simple ("test/wrong-field", >+ "foo", GST_TYPE_FRACTION, "bar", NULL)); I think this is misleading - what assertion does this produce for you? If we want to exercise the "passed '0' as denominator for `GstFraction'" error code path, then we should pass a proper fraction with a 0 denominator, not wrong code which may or may not crash depending on how it's handled.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/319.