commit | f3a0655f9ba293ff64bf0f74f79595f922db8f9e | [log] [tgz] |
---|---|---|
author | Tomas Henzl <thenzl@redhat.com> | Mon Jul 07 17:19:58 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jul 25 17:17:05 2014 -0400 |
tree | a240763c24be822da91e3f69760089674d1f36a8 | |
parent | 31d05e5b14f362c7ea99d1d9e977771ef434b820 [diff] |
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 <thenzl@redhat.com> Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>