From: Tomas Henzl Date: Mon, 7 Jul 2014 15:19:58 +0000 (+0200) Subject: pm8001: fix a memory leak in nvmd_resp X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3a0655f9ba293ff64bf0f74f79595f922db8f9e;p=pandora-kernel.git 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-diff-tree failed