Commit 47f6d9c
ubifs: Fix a memleak after dumping authentication mount options
Fix a memory leak after dumping authentication mount options in error
handling branch.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Cc: <stable@vger.kernel.org> # 4.20+
Fixes: d8a2277 ("ubifs: Enable authentication support")
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>1 parent b30e223 commit 47f6d9c
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1144 | 1156 | | |
1145 | 1157 | | |
1146 | 1158 | | |
| |||
1650 | 1662 | | |
1651 | 1663 | | |
1652 | 1664 | | |
1653 | | - | |
1654 | | - | |
| 1665 | + | |
1655 | 1666 | | |
1656 | 1667 | | |
1657 | 1668 | | |
| |||
2219 | 2230 | | |
2220 | 2231 | | |
2221 | 2232 | | |
| 2233 | + | |
2222 | 2234 | | |
2223 | 2235 | | |
2224 | 2236 | | |
| |||
0 commit comments