commit | f2c6f180c98e1a8bc84781f32894b595363d3dfb | [log] [tgz] |
---|---|---|
author | Maurizio Lombardi <mlombard@redhat.com> | Tue Jun 17 13:15:40 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jun 25 13:29:05 2014 +0200 |
tree | c8f61123f9ebfcae8e30a0b355d201af41ae99c1 | |
parent | 3a980508c3fab88527998c258ddb3c12ff36fedc [diff] |
pm8001: Fix potential null pointer dereference and memory leak. The pm8001_get_phy_settings_info() function does not check the kzalloc() return value and does not free the allocated memory. Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com> Acked-by: Jack Wang <xjtuwjp@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>