于 2013年11月11日 18:40, Huang Shijie 写道:
> +     chip->buffers = kzalloc(sizeof(*chip->buffers), GFP_KERNEL);
> +     if (!chip->buffers)
> +             return -ENOMEM;
> +     chip->options |= NAND_OWN_BUFFERS;
It has a memory leak for the NAND_OWN_BUFFERS. i should free this buffer
myself too.

thanks
Huang Shijie

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to