collectpads: Don't unref NULL GstCollectData
authorZaheer Abbas Merali <zaheermerali@gmail.com>
Thu, 5 Sep 2013 12:14:42 +0000 (14:14 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 5 Sep 2013 12:15:30 +0000 (14:15 +0200)
commitd1d99af22973dd379d95fa477097576275ec1394
tree61c01e07b6e8f8658820bf82d54e0a4e8475b364
parent26c481e59227904184722b885cd572352b30f29d
collectpads: Don't unref NULL GstCollectData

If a pad is removed while a collectpads element (say adder) is in a chain
function waiting to be collected, there is a possibility that an unref happens
on a NULL pointer.

https://bugzilla.gnome.org/show_bug.cgi?id=707536
libs/gst/base/gstcollectpads.c