Changeset 140272 in webkit
- Timestamp:
- Jan 20, 2013 3:36:20 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140270 r140272 1 2013-01-20 Christophe Dumez <christophe.dumez@intel.com> 2 3 [gstreamer] assertion in g_object_unref from _WebKitWebAudioSourcePrivate destructor 4 https://bugs.webkit.org/show_bug.cgi?id=107374 5 6 Reviewed by Philippe Normand. 7 8 WebKitWebAudioSrc object gets unrefed one time too many in 9 _WebKitWebAudioSourcePrivate destructor, causing an assertion 10 in g_object_unref. This patch passes NULL instead of 11 g_object_unref to gst_task_new() so that the WebKitWebAudioSrc 12 object does not get unrefed when the GstTask is destroyed. 13 14 No new tests, already covered by webaudio tests. 15 16 * platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp: 17 (webkit_web_audio_src_init): 18 1 19 2013-01-20 Kentaro Hara <haraken@chromium.org> 2 20 -
trunk/Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp
r138960 r140272 208 208 #ifdef GST_API_VERSION_1 209 209 g_rec_mutex_init(&priv->mutex); 210 priv->task = gst_task_new(reinterpret_cast<GstTaskFunction>(webKitWebAudioSrcLoop), src, reinterpret_cast<GDestroyNotify>(g_object_unref));210 priv->task = gst_task_new(reinterpret_cast<GstTaskFunction>(webKitWebAudioSrcLoop), src, 0); 211 211 #else 212 212 g_static_rec_mutex_init(&priv->mutex);
Note: See TracChangeset
for help on using the changeset viewer.