aboutsummaryrefslogtreecommitdiff
path: root/Documentation/dcdbas.txt
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-12-01 14:23:39 -0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 16:10:27 +0000
commit176bf2e0f10ecf1d20a97db3bd5bb2e6ba0b5668 (patch)
treeb22f94dcce76c35f2c5ebe1bda5508e61e46da4f /Documentation/dcdbas.txt
parent002f6aab43c0e556ee5f588d138587de6a3ed63d (diff)
[MTD] physmap: fix leak of memory returned by parse_mtd_partitions
The mtd partition parser returns an allocated pointer array of mtd_partition. The caller must free it. The array is used only for add_mtd_partitions(), so free it just after the call. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'Documentation/dcdbas.txt')
0 files changed, 0 insertions, 0 deletions