diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-06-04 17:58:37 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-24 13:32:55 +0300 |
commit | 472018f73e7308a7f29b753ee8c742b6f45f103f (patch) | |
tree | 327c1e008a30b79fc527daf26802b795f3a99b32 /drivers/cdrom | |
parent | 505d1caa79cd61a70615e9a7eae2eab85e797a83 (diff) |
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>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions