Commit 4d15242
committed
rpmsg: glink: Release driver_override
JIRA: https://issues.redhat.com/browse/RHEL-78824
commit fb80ef6
Author: Bjorn Andersson <quic_bjorande@quicinc.com>
Date: Mon Jan 9 14:39:31 2023 -0800
rpmsg: glink: Release driver_override
Upon termination of the rpmsg_device, driver_override needs to be freed
to avoid leaking the potentially assigned string.
Fixes: 42cd402 ("rpmsg: Fix kfree() of static memory on setting driver_override")
Fixes: 39e4776 ("rpmsg: Add driver_override device attribute for rpmsg_device")
Reviewed-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109223931.1706429-1-quic_bjorande@quicinc.com
Signed-off-by: Jared Kangas <jkangas@redhat.com>1 parent 00eaa99 commit 4d15242
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1448 | 1448 | | |
1449 | 1449 | | |
1450 | 1450 | | |
| 1451 | + | |
1451 | 1452 | | |
1452 | 1453 | | |
1453 | 1454 | | |
| |||
1691 | 1692 | | |
1692 | 1693 | | |
1693 | 1694 | | |
| 1695 | + | |
1694 | 1696 | | |
1695 | 1697 | | |
1696 | 1698 | | |
| |||
0 commit comments