[Bug 641706] discoverer: Keep references on discoverer objects for callbacks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 22 04:50:05 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=641706
  GStreamer | gst-plugins-base | unspecified

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.33

--- Comment #9 from Edward Hervey <bilboed at gmail.com> 2011-02-22 12:50:01 UTC ---
commit 8d2b69384a2674873975b5414f7bb3635ff2014b
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Mon Feb 7 13:04:55 2011 +0530

    discoverer: Keep a ref for the async timeout callback

    This makes sure we maintain a ref on the discoverer object while the
    async timeout callback is alive to prevent a potential crash if the
    object is freed while the callback is pending.

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

commit 40c4fe8fbe23cc3e3293c737969fc274dfb6c4f1
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Mon Feb 7 13:57:39 2011 +0530

    discoverer: Use g_signal_connect_object instead of g_signal_connect

    We want to make sure the discoverer object passed to the various
    callbacks doesn't become invalid if a callback is pending and the object
    is free'd in the mean time.

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

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