diff options
author | Liam <byteslice@airmail.cc> | 2022-10-30 04:05:56 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-30 04:05:56 +0100 |
commit | d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033 (patch) | |
tree | 33f9a83bc191a307de7f235e2afdc2d2ac7ea406 /src/core | |
parent | Merge pull request #9137 from liamwhite/hbmenu (diff) | |
download | yuzu-d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033.tar yuzu-d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033.tar.gz yuzu-d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033.tar.bz2 yuzu-d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033.tar.lz yuzu-d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033.tar.xz yuzu-d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033.tar.zst yuzu-d867ae5ab6d958c2a3eb20ba4a9a2aafe9c1a033.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/k_server_session.h | 2 | ||||
-rw-r--r-- | src/core/hle/service/sm/sm.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_server_session.h b/src/core/hle/kernel/k_server_session.h index 32135473b..188aef4af 100644 --- a/src/core/hle/kernel/k_server_session.h +++ b/src/core/hle/kernel/k_server_session.h @@ -91,7 +91,7 @@ private: /// List of threads which are pending a reply. boost::intrusive::list<KSessionRequest> m_request_list; - KSessionRequest* m_current_request; + KSessionRequest* m_current_request{}; KLightLock m_lock; }; diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 48e70f93c..e2b8d8720 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -80,7 +80,6 @@ ResultVal<Kernel::KPort*> ServiceManager::GetServicePort(const std::string& name } auto* port = Kernel::KPort::Create(kernel); - SCOPE_EXIT({ port->Close(); }); port->Initialize(ServerSessionCountMax, false, name); auto handler = it->second; |