diff options
| author | Patrick Williams <iawillia@us.ibm.com> | 2016-01-04 17:17:21 -0600 |
|---|---|---|
| committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 17:06:04 -0600 |
| commit | 630c8445144892228a297278c5647222484e0563 (patch) | |
| tree | 287720584c0b16eca7722639bf892d7309f20e00 /src/usr/targeting/test | |
| parent | ccdfae6bb89f856ca236d277799dfcb118f80412 (diff) | |
| download | talos-hostboot-630c8445144892228a297278c5647222484e0563.tar.gz talos-hostboot-630c8445144892228a297278c5647222484e0563.zip | |
shared_ptr::reset did not work for shared pointer
shared_ptr has a common _cleanup function that is used for all
cases where the shared_ptr is deleted or reset. The function
only released the pointer to the held object when the reference
count was 1. Fix so that 'this' shared_ptr always releases its
reference to the shared object.
Change-Id: I28fc8922fa57d62ea86a7fc80a343aa64c22fc33
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23016
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/test')
0 files changed, 0 insertions, 0 deletions

