[PATCH 1/6] UBI: Fastmap: Fix memory leaks while closing the WL sub-system

Richard Weinberger richard at nod.at
Sun Dec 7 05:46:35 PST 2014


Am 07.12.2014 um 14:26 schrieb Tanya Brokhman:
> you're right, found it at ubi_detach_mtd_dev() several lines after calling ubi_wl_close(). But if you're creating a fastmap-close dedicated function, fm_buf should be freed in it
> as it is fastmap related.

The idea was to have WL related stuff in this function.
But I can add more into it in a subsequent patch.

Thanks,
//richard



More information about the linux-mtd mailing list