commit | 224f36a4e5b10ac3f84958307a61687cc041d064 | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Oct 25 08:52:23 2018 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Nov 21 10:51:29 2018 -0800 |
tree | 94c9d0a02fd24c46774e218cd92e16a5756d8497 | |
parent | d999ffc12211f5d5c6cd2196dd525e69e2fc0f58 [diff] |
netipmid: use shared_ptr on session instead of shared_ptr+references session objects were being created and held by shared_ptr objects and then shared via reference. This is dangerous and sidesteps the whole point of a shared_ptr, which is to share reference-counted ownership. This replaces the usage with a shared_ptr, which shows shared ownership. Change-Id: Ie22d812a6d260d606201eca6a9011e773c89e487 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>