msdk: release resources if failing to create the buffer pool
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 9 Jan 2019 00:58:00 +0000 (08:58 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Wed, 9 Jan 2019 01:42:56 +0000 (09:42 +0800)
commitba7f4de2986ac364fe8ea6484a453ce066bf6843
tree3c28ee75dcaaa4577f38524b67d80c32a3470410
parenta3011500024966677cd7e7d1cd3297cbaa643923
msdk: release resources if failing to create the buffer pool

Needn't check the pointers against NULL because the pointers are
non-NULL
sys/msdk/gstmsdkdec.c
sys/msdk/gstmsdkenc.c
sys/msdk/gstmsdkvpp.c