x264: fix memory leak
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 21 Jun 2017 19:23:29 +0000 (21:23 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 21 Jun 2017 19:26:53 +0000 (21:26 +0200)
commitc15a00537fd11cd71b7dc4bbd4e39c47be1129a8
treec1c3f10a3e435eedccfa2852ba17fd326fab05ff
parent6b03e61bf3c778b1bb41cd42850876f1bb00986b
x264: fix memory leak

When the allowed caps are the same of template caps the allowed
caps are not unrefed, leaking memory.

https://bugzilla.gnome.org/show_bug.cgi?id=784060
ext/x264/gstx264enc.c