mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
miniobject: weak_unref: display the pointer of the object if failing
That's generally the most useful information to help debugging the problem. https://bugzilla.gnome.org/show_bug.cgi?id=768579
This commit is contained in:
parent
757a8b04c0
commit
e73650e5f9
1 changed files with 2 additions and 1 deletions
|
@ -633,7 +633,8 @@ gst_mini_object_weak_unref (GstMiniObject * object,
|
|||
if ((i = find_notify (object, weak_ref_quark, TRUE, notify, data)) != -1) {
|
||||
remove_notify (object, i);
|
||||
} else {
|
||||
g_warning ("%s: couldn't find weak ref %p(%p)", G_STRFUNC, notify, data);
|
||||
g_warning ("%s: couldn't find weak ref %p (object:%p data:%p)", G_STRFUNC,
|
||||
notify, object, data);
|
||||
}
|
||||
G_UNLOCK (qdata_mutex);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue