gstpoll: don't pass non-objects as first argument to GST_DEBUG_OBJECT()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 4 Mar 2010 18:39:02 +0000 (18:39 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 4 Mar 2010 18:40:50 +0000 (18:40 +0000)
commit4cbf794b0eb3ad6fa8e02a5b3abc910c14a418d1
tree66fbeb69d7211978def74d3df3d3c06e7feadbe2
parent2586004e85aea0eedd9814abe6cf7fd0b9250bec
gstpoll: don't pass non-objects as first argument to GST_DEBUG_OBJECT()

This may cause crashes when logging is enabled, especially on windows.
It's not safe to pass random pointers to g_type_check_instance_is_a().

Fixes #611719.
gst/gstpoll.c