[Bug 758820] New: glwindow: Fix memory leak of navigation thread

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Nov 29 19:02:00 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=758820

            Bug ID: 758820
           Summary: glwindow: Fix memory leak of navigation thread
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: b55597 at freescale.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 316493
  --> https://bugzilla.gnome.org/attachment.cgi?id=316493&action=edit
glwindow: Fix memory leak of navigation thread

When application free glwindow object, glwindow will end the navigation thread
in gst_gl_window_finalize(), but the thread resource hold by it hasn't been
released yet.
Need call g_thread_join() to release the resource hold by navigation thread to
avoid memory leak.

The patch add g_thread_join() after navigation thread exited.

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