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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 15 07:55:36 PDT 2014


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

           Summary: basesrc: possible pool and allocator leak in
                    prepare_allocation()
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aurelien.zanelli at parrot.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I notice that I have a bufferpool leak when start method of bufferpool returns
FALSE with a source element.

It caused by the fact that gst_base_src_prepare_allocation or
gst_base_src_set_allocation don't unref pool and allocator when a bufferpool
can't be active.

I will attach two differents solutions.

-- 
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