vaapidecode: plug a memory leak.
authorMatthew Waters <ystreet00@gmail.com>
Sat, 22 Feb 2014 14:43:39 +0000 (01:43 +1100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 11:58:49 +0000 (13:58 +0200)
commit3fbef25e13e231b34e4d50823c86bb28240f1318
tree2fe19373865dd172c7b53dd166dcd836d56d0d0d
parentabfb5dd06cc7cdfa920707fc8f5553f81014e5e3
vaapidecode: plug a memory leak.

It can happen that there is a pool provided that does not advertise
the vappivideometa. We should unref that pool before using our own.

Discovered with vaapidecode ! {glimagesink,cluttersink}

https://bugzilla.gnome.org/show_bug.cgi?id=724957

[fixed compilation by adding the missing semi-colon]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapidecode.c