caps: unset the parent refcount of the old features before freeing them in gst_caps_s...
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 26 Jun 2014 08:16:34 +0000 (11:16 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 26 Jun 2014 08:16:34 +0000 (11:16 +0300)
commit780c83d5c4dd5b2676e23f185e739567c4e817a8
treee7f1093cc39862539b7e1bf502002e617e7d94b5
parentb7516dbf7cfc0321f7ec918bfaf27dcbd49fd130
caps: unset the parent refcount of the old features before freeing them in gst_caps_set_features()

Otherwise gst_caps_features_free() asserts and the features structure is leaked
gst/gstcaps.c