vaapostproc: fix memory leaks.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Nov 2013 10:15:57 +0000 (11:15 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 22 Nov 2013 10:15:57 +0000 (11:15 +0100)
commit922a04b7347e56fcc8a517aa3f951de894a401b4
tree636b77b83b14e8e619243b4a10a966f154a2ef1f
parent7a464ba015535854aa345628766f3014b245fca8
vaapostproc: fix memory leaks.

Destroy VPP output surface pool on exit. Also avoid a possible crash
in double-free situation caused by insufficiently reference counted
array of formats returned during initialization.
gst-libs/gst/vaapi/gstvaapifilter.c
gst/vaapi/gstvaapipostproc.c