mirror of
https://github.com/armbian/build.git
synced 2025-08-09 12:46:58 +02:00
* sunxi-6.0: initial state: add megous patches to series * sunxi-6.0: Switch to v6.0.1 * wifi: Limit the version 6.0 for Realtek 88x2cs chipsets * Adjust kernel configs * Remove not needed patches * Adjust broken patches Co-authored-by: Igor <igor@armbian.com>
28 lines
837 B
Diff
28 lines
837 B
Diff
From 447e14d3337a93767ad2e6f292bfe8d4dbabcbab Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Sun, 5 Apr 2020 21:16:40 -0500
|
|
Subject: [PATCH 175/486] media: cedrus: Fix missing cleanup in error path
|
|
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
---
|
|
drivers/staging/media/sunxi/cedrus/cedrus.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c
|
|
index 960a0130c..c2f371bd7 100644
|
|
--- a/drivers/staging/media/sunxi/cedrus/cedrus.c
|
|
+++ b/drivers/staging/media/sunxi/cedrus/cedrus.c
|
|
@@ -380,7 +380,9 @@ static int cedrus_open(struct file *file)
|
|
|
|
err_ctrls:
|
|
v4l2_ctrl_handler_free(&ctx->hdl);
|
|
+ kfree(ctx->ctrls);
|
|
err_free:
|
|
+ v4l2_fh_exit(&ctx->fh);
|
|
kfree(ctx);
|
|
mutex_unlock(&dev->dev_mutex);
|
|
|
|
--
|
|
2.35.3
|
|
|