Han Xu 2cd395d13a mtd: gpmi: fix raw_buffer pointer double free issue
fix the raw_buffer pointer double free issue found by coverify.

CID 18344 (#2 of 2): Double free (USE_AFTER_FREE)
3. double_free: Calling gpmi_alloc_dma_buffer frees pointer
this->raw_buffer which has already been freed

Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2016-04-19 22:04:52 +02:00
..
2016-03-21 13:14:16 -07:00
2016-03-24 23:13:48 -07:00
2016-03-16 08:36:55 -07:00
2016-03-25 08:52:25 -07:00
2016-03-22 15:36:02 -07:00
2016-03-18 10:15:11 -07:00
2016-03-17 13:47:50 -07:00
2016-03-20 15:40:32 -07:00
2016-03-18 10:15:11 -07:00
2016-03-22 11:57:43 -07:00
2016-03-18 10:15:11 -07:00
2016-03-21 14:35:52 -07:00
2016-03-24 23:13:48 -07:00
2016-03-05 12:22:41 -08:00
2016-03-23 17:20:59 -07:00
2016-03-18 10:15:11 -07:00
2016-03-24 22:49:08 -07:00
2016-03-26 11:31:01 -07:00
2016-03-04 12:12:08 +01:00
2016-03-20 15:40:32 -07:00
2016-03-17 12:34:54 -07:00
2016-03-22 12:55:17 -07:00
2016-03-17 13:05:09 -07:00
2016-03-22 12:55:17 -07:00