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

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

Merge "msm: ADSPRPC: Reset debug buffer allocation check flag"

parents 4e4f1f3b 67c62389
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3673,6 +3673,7 @@ static int fastrpc_file_free(struct fastrpc_file *fl)
	hlist_del_init(&fl->hn);
	spin_unlock(&fl->apps->hlock);
	kfree(fl->debug_buf);
	fl->debug_buf_alloced_attempted = 0;

	if (!fl->sctx) {
		kfree(fl);
@@ -4117,6 +4118,7 @@ static int fastrpc_set_process_info(struct fastrpc_file *fl)
				current->comm, __func__, fl->debug_buf);
			fl->debugfs_file = NULL;
			kfree(fl->debug_buf);
			fl->debug_buf_alloced_attempted = 0;
			fl->debug_buf = NULL;
		}
	}