diff options
author | Kun Yi <kunyi731@gmail.com> | 2019-11-22 14:59:40 -0800 |
---|---|---|
committer | Kun Yi <kunyi731@gmail.com> | 2019-11-25 10:06:06 -0800 |
commit | cd833aa11075ac1041531270060e1fb3ba8aa5ac (patch) | |
tree | f416d4c5fbf8e0d5cdc5993561ab0c253c9c7598 /main.cpp | |
parent | fea1d8115bace4bedae2523a9d9389a990adb09f (diff) | |
download | phosphor-ipmi-blobs-cd833aa11075ac1041531270060e1fb3ba8aa5ac.tar.gz phosphor-ipmi-blobs-cd833aa11075ac1041531270060e1fb3ba8aa5ac.zip |
Fix openFiles refcount
The old code deletes session from the session map before doing a lookup
of the path. Fix the order and add a unit test to catch the error case.
(The unit test would fail without this fix).
Signed-off-by: Kun Yi <kunyi731@gmail.com>
Change-Id: If043d6aad7bbaafa19ae3b63a6d9cc7a836d25b5
Diffstat (limited to 'main.cpp')
0 files changed, 0 insertions, 0 deletions