[vp8d]:fix memory leak problem

Change-Id: I4c932ed336c1d44a30e0961b7a26692ff78d7dc6
Signed-off-by: ywj <ywj@rock-chips.com>
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
ywj 2018-06-19 15:25:44 +08:00 committed by Ding Wei
parent d72e00411d
commit 88355a42f5
3 changed files with 5 additions and 0 deletions

0
build/android/Android.mk Executable file → Normal file
View file

0
build/android/update.sh Executable file → Normal file
View file

View file

@ -316,6 +316,11 @@ MPP_RET vp8d_parser_deinit(void *ctx)
vp8d_unref_allframe(p);
if (p->input_packet) {
mpp_packet_deinit(&p->input_packet);
p->input_packet = NULL;
}
if ( NULL != p) {
mpp_free(p);
}