filter: fix memory leak of VPP operations.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 1 Oct 2013 16:26:39 +0000 (18:26 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 1 Oct 2013 16:41:29 +0000 (18:41 +0200)
commitb242c5874b62cbc67920cba17d2cb3e90c4cd222
tree8454a53b4086f0e32d7f837cfa25b9a03668d6e0
parente05e65e349b7fae4eca981e7ea6e5d529ea5c9de
filter: fix memory leak of VPP operations.

Fix ensure_operations() to release the VPP operations array if non
NULL, prior to returning to the caller. The former function was also
renamed to a more meaningful get_operations() since the caller owns
the returned array that needs to be released.
gst-libs/gst/vaapi/gstvaapifilter.c