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

Commit 1bf0a890 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: adsprpc: Clean buffers on remote invocation failure"

parents 0554d683 69e8685d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2421,13 +2421,13 @@ static int fastrpc_internal_invoke(struct fastrpc_file *fl, uint32_t mode,
	inv_args(ctx);
	PERF_END);

	VERIFY(err, 0 == (err = ctx->retval));
	PERF(fl->profile, GET_COUNTER(perf_counter, PERF_PUTARGS),
	VERIFY(err, 0 == (err = put_args(kernel, ctx, invoke->pra)));
	PERF_END);
	if (err)
		goto bail;

	PERF(fl->profile, GET_COUNTER(perf_counter, PERF_PUTARGS),
	VERIFY(err, 0 == put_args(kernel, ctx, invoke->pra));
	PERF_END);
	VERIFY(err, 0 == (err = ctx->retval));
	if (err)
		goto bail;
 bail: