Skip to content
Snippets Groups Projects

gstreamer/element: Use from_glib_none() for the release_pad() trampoline

The reference to the pad we get passed is not guaranteed to be valid for the whole scope of release_pad(). It might be the last reference as owned by GstElement, and gst_element_remove_pad() would destroy it then.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading