commit | a383f8ec552c9af5066eb488cc7a2d8b3994151d | [log] [tgz] |
---|---|---|
author | Dean Luick <dean.luick@intel.com> | Thu Jul 28 15:21:16 2016 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Tue Aug 02 22:46:21 2016 -0400 |
tree | 13c4cf39c3c2fc6e20f770b485061ea17f050ee7 | |
parent | 9ff73c8715dbd02d18b4d99c815f388413314229 [diff] |
IB/hfi1: Release node on insert failure If unable to insert node into the RB tree cache, node will be freed before returning from the function. Null out iovec's pointer to node so iovec does not try to free it later. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>