caps: Don't leak features on error cases
authorEdward Hervey <bilboed@bilboed.com>
Mon, 12 May 2014 14:59:29 +0000 (16:59 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 12 May 2014 14:59:29 +0000 (16:59 +0200)
commit25bcc2d7f61d56df4e602d3c91e9a25d2ca4771c
tree1b37a84f155e7734328fc540ae11e68aed8f38a9
parente73907200c51e7ee8f76b4e4e77794aae6bcecf1
caps: Don't leak features on error cases

If we fail to parse fields, we would end up leaking the features we
parsed just before

CID #1212152
gst/gstcaps.c