mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
UBI: fix memory leak on error path
Normally UBI volumes are freed in the release function of the struct device object. However, on error path they may have to be freed before the struct device objects have been initialized. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
505d1caa79
commit
472018f73e
1 changed files with 30 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue