From 9422e864fa4e2d323407cfca6ca14712cf17fb40 Mon Sep 17 00:00:00 2001 From: Tomas Henzl Date: Mon, 7 Jul 2014 17:20:00 +0200 Subject: [PATCH] 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-format-patch failed