diff options
| author | 2011-01-30 10:31:48 +0100 | |
|---|---|---|
| committer | 2011-03-11 14:22:43 +0000 | |
| commit | f17f12ce9dd6ec0a8e1f415ecdbaebfce0207464 (patch) | |
| tree | 99c01455d53f7184ac0a52fcfd208efbff9705a0 /scripts/Makefile.thinlto | |
| parent | mtd: mtdram: initialize writebufsize field (diff) | |
mtd: phram: fix memory leak
Commit 4f678a58 (mtd: fix memory leaks in phram_setup) missed two cases
where the memory allocated for name would be leaked. This commit frees
the memory when register_device() fails and on unregister_devices().
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
