mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[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:
parent
d72e00411d
commit
88355a42f5
3 changed files with 5 additions and 0 deletions
0
build/android/Android.mk
Executable file → Normal file
0
build/android/Android.mk
Executable file → Normal file
0
build/android/update.sh
Executable file → Normal file
0
build/android/update.sh
Executable file → Normal 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue