commit | 4bc982c3a8f2a4b21e449fc0db93d46d505f7d95 | [log] [tgz] |
---|---|---|
author | Patrick Georgi <patrick@georgi-clan.de> | Thu Oct 02 08:16:26 2014 |
committer | Stephen Warren <swarren@nvidia.com> | Thu Oct 02 23:07:09 2014 |
tree | 0df2ba849b993ff2382ed799d34033b783c9595e | |
parent | 141409fb208ef94de3b438eff2a87197714fbe65 [diff] |
data_layout: improve memory handling - free empty_blk if it's allocated and there's an error - only free empty_blk if it's non-NULL. While POSIX requests such free()s to be safe, some implementations (eg Solaris) aren't compliant. Found-by: Coverity Scan Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Signed-off-by: Stephen Warren <swarren@nvidia.com>