From: Tomas Henzl Date: Mon, 7 Jul 2014 15:20:00 +0000 (+0200) Subject: pm8001: fix a memory leak in flash_update X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9422e864fa4e2d323407cfca6ca14712cf17fb40;p=pandora-kernel.git pm8001: fix a memory leak in flash_update ccb->fw_control_context is copied to local fw_control_context and the local variable is never used later Free ccb->fw_control_context. The task is forgotten thus also the reference to fw_control_context and the completion thread takes the info from virt_ptr again. Signed-off-by: Tomas Henzl Acked-by: Suresh Thiagarajan Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed