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

Commit 0a7bf3e4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Free memory allocated to keep track of buffer ownership" into msm-3.10

parents 3dbd65f8 135e4eb7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -446,6 +446,8 @@ static long venc_close(struct v4l2_subdev *sd, void *arg)
	if (rc)
		WFD_MSG_WARN("Failed to close vidc context\n");

	kfree(inst->free_output_indices.bitmap);
	kfree(inst->free_input_indices.bitmap);
	kfree(inst);
	sd->dev_priv = inst = NULL;
venc_close_fail: