From f3a0655f9ba293ff64bf0f74f79595f922db8f9e Mon Sep 17 00:00:00 2001 From: Tomas Henzl Date: Mon, 7 Jul 2014 17:19:58 +0200 Subject: [PATCH] pm8001: fix a memory leak in nvmd_resp Instead of copying information to fw_control_context free it. 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