mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: vidc: Don't free shared memory on channel close
The driver already frees the memory in vcd_ddl.c at ddl_close(). No need to prematurely free the memory here. Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
This commit is contained in:
parent
ee0d677158
commit
6b052a80c0
1 changed files with 0 additions and 2 deletions
|
@ -404,8 +404,6 @@ void ddl_release_client_internal_buffers(struct ddl_client_context *ddl)
|
|||
encoder->dynamic_prop_change = 0;
|
||||
ddl_free_enc_hw_buffers(ddl);
|
||||
}
|
||||
ddl_pmem_free(&ddl->shared_mem[0]);
|
||||
ddl_pmem_free(&ddl->shared_mem[1]);
|
||||
}
|
||||
|
||||
u32 ddl_codec_type_transact(struct ddl_client_context *ddl,
|
||||
|
|
Loading…
Reference in a new issue