controlbinding: Check if the weak pointer was cleared before explicitly removing it
authorSebastian Dröge <sebastian@centricular.com>
Wed, 10 Apr 2019 07:18:54 +0000 (10:18 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 10 Apr 2019 07:18:54 +0000 (10:18 +0300)
commite0c9d4f8799d71faacdc3b7f90690f56fb3097bf
treeeb22684fcfd18b934f868bdfd9cd73918441cd15
parent1ec811471797c2ef944122dcdb5218f2b13eeebc
controlbinding: Check if the weak pointer was cleared before explicitly removing it

Otherwise we'll get an assertion if the object behind the weak pointer
was already destroyed in the meantime as we would pass NULL as first
argument to g_object_remove_weak_pointer().
gst/gstcontrolbinding.c