Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a513d1fc authored by Uma Mehta's avatar Uma Mehta
Browse files

msm_vidc: free buffer tags while cleanup



Earlier the buffer tags were not freed in the
cleanup resulting in memory leak. Fixed it by
freeing the corresponding buffer tags.

Change-Id: I584256fc751658c765b7afb2392568427b4e8dc4
Signed-off-by: default avatarUma Mehta <umamehta@codeaurora.org>
parent 0baefc97
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1860,6 +1860,8 @@ static void msm_vidc_cleanup_instance(struct msm_vidc_inst *inst)
		dprintk(VIDC_ERR,
			"Failed to release mark_data buffers\n");

	msm_comm_free_buffer_tags(inst);

	msm_comm_release_eos_buffers(inst);

	if (msm_comm_release_output_buffers(inst, true))