This happens in the debug bot in all media source tests that run that code. The problem is that we are creating a RefPtr without adopting the reference. The ownerships there are not very clear anyway.
Created attachment 263256 [details] Patch
Committed r191174: <http://trac.webkit.org/changeset/191174>