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

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

Merge "msm: ADSPRPC: Free file private data after session close"

parents eb681bd5 8a01d6c5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1715,12 +1715,12 @@ static int fastrpc_device_release(struct inode *inode, struct file *file)

	if (fl) {
		cid = fl->cid;
		fastrpc_file_free(fl);
		file->private_data = 0;
		if (fl->sctx) {
			session = fl->sctx - &me->channel[cid].session[0];
			fastrpc_session_free(&me->channel[cid], session);
		}
		fastrpc_file_free(fl);
		file->private_data = 0;
	}
	return 0;
}