Skip to content
Commit 472018f7 authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 505d1caa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment