summaryrefslogtreecommitdiff
path: root/sound/last.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-06-04 17:48:12 +0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-07-24 14:32:54 +0400
commitabc5e92262d87f9c5c628492bffc55f81c7dcb80 (patch)
treead33229247f99996dd875e68c10dcef9d1d40519 /sound/last.c
parentcadb40ccc16a26a738f1cbc963e35b21edd93e79 (diff)
downloadlinux-abc5e92262d87f9c5c628492bffc55f81c7dcb80.tar.xz
UBI: fix memory leak
ubi_free_volume() function sets ubi->volumes[] to NULL, so ubi_eba_close() is useless, it does not free what has to be freed. So zap it and free vol->eba_tbl at the volume release function. Pointed-out-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions