avviddec: Fix bufferpool config double free by taking a copy as needed
authorSebastian Dröge <sebastian@centricular.com>
Fri, 16 Oct 2015 15:52:57 +0000 (18:52 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 16 Oct 2015 15:52:57 +0000 (18:52 +0300)
commitdc4b9ef7e6028500acc90e886c75bd4c45b3e4fb
treef32fbcecfd422eacc2dc81f2191f59b9f9fd573e
parent5d52dcf5efabd00388525f02cb52b631a8bdb82d
avviddec: Fix bufferpool config double free by taking a copy as needed

Also free the config in two code paths where we leaked it before.
ext/libav/gstavviddec.c