Summary: | [GStreamer] fast/mediastream/get-user-media-device-id.html failing | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Claudio Saavedra <csaavedra> | ||||||
Component: | WPE WebKit | Assignee: | Philippe Normand <pnormand> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aboya, alex, annulen, bugs-noreply, calvaris, dpino, eric.carlson, ews-watchlist, glenn, gyuyoung.kim, hta, jer.noble, lmoura, philipj, pnormand, ryuan.choi, sergio, tommyw, tsaunier | ||||||
Priority: | P2 | ||||||||
Version: | Other | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=210926 | ||||||||
Attachments: |
|
Description
Claudio Saavedra
2018-10-15 05:24:52 PDT
Created attachment 397976 [details]
Patch
Created attachment 397977 [details]
Patch
*** Bug 205930 has been marked as a duplicate of this bug. *** *** Bug 210337 has been marked as a duplicate of this bug. *** *** Bug 206149 has been marked as a duplicate of this bug. *** *** Bug 192886 has been marked as a duplicate of this bug. *** *** Bug 210843 has been marked as a duplicate of this bug. *** Comment on attachment 397977 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397977&action=review > Source/WebCore/platform/mediastream/gstreamer/MockRealtimeAudioSourceGStreamer.cpp:102 > + auto sample = adoptGRef(gst_sample_new(buffer, caps.get(), nullptr, nullptr)); Buffer seems to be leaking here as gst_sample_new takes it as [transfer none] and it is not adopted to a GRefPtr above. Committed r260937: <https://trac.webkit.org/changeset/260937> Comment on attachment 397977 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397977&action=review >> Source/WebCore/platform/mediastream/gstreamer/MockRealtimeAudioSourceGStreamer.cpp:102 >> + auto sample = adoptGRef(gst_sample_new(buffer, caps.get(), nullptr, nullptr)); > > Buffer seems to be leaking here as gst_sample_new takes it as [transfer none] and it is not adopted to a GRefPtr above. Oops indeed. Thanks for the review! |