[Pidgin] #16566: GStreamer sound player leaks GSources

Pidgin trac at pidgin.im
Fri Feb 6 23:46:41 EST 2015

#16566: GStreamer sound player leaks GSources
 Reporter:  Dolda2000  |      Owner:
     Type:  defect     |     Status:  new
Milestone:             |  Component:  pidgin (gtk)
  Version:  2.10.11    |   Keywords:
 The `pidgin_sound_play_file()` function in pidgin/gtksound.c calls
 `gst_bus_add_watch()` to get called back about stuff, but it never calls
 `g_source_remove()` on the resultant watch, causing GSources to build up
 over time, slowing down the glib main-loop over time. For reference, my
 current Pidgin instance has been running for ~1½ months, and takes about a
 second to process a glib event by now.

Ticket URL: <https://developer.pidgin.im/ticket/16566>
Pidgin <https://pidgin.im>

More information about the Tracker mailing list