[Bug 736680] basesrc: possible pool and allocator leak in prepare_allocation()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 15 07:57:08 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=736680
  GStreamer | gstreamer (core) | git

--- Comment #1 from Aurélien Zanelli <aurelien.zanelli at parrot.com> 2014-09-15 14:57:01 UTC ---
Created an attachment (id=286210)
 View: https://bugzilla.gnome.org/attachment.cgi?id=286210
 Review: https://bugzilla.gnome.org/review?bug=736680&attachment=286210

basesrc: don't leak pool and allocator when activate failed

Solution 1: just unref pool and allocator in error case. It assume that
gst_base_src_set_allocation take reference on pool and allocator given as
argument.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list