aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_process.h
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2021-09-25 23:01:53 +0800
committerFeng Chen <vonchenplus@gmail.com>2021-09-29 09:51:20 +0800
commit5fbfc4c19eaca2ad88bf34ec33d068ffab6fe672 (patch)
tree95a899841bb6e1505372f5994bda3537ee2f940a /src/core/hle/kernel/k_process.h
parent7cd43b139a935ed0b7bc34a31620c3ffb70c7e48 (diff)
Fix KShareMemory object leak
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
-rw-r--r--src/core/hle/kernel/k_process.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h
index a03c074fb..1a53e2be7 100644
--- a/src/core/hle/kernel/k_process.h
+++ b/src/core/hle/kernel/k_process.h
@@ -34,6 +34,7 @@ class KernelCore;
class KPageTable;
class KResourceLimit;
class KThread;
+class KSharedMemoryInfo;
class TLSPage;
struct CodeSet;
@@ -448,6 +449,9 @@ private:
/// List of threads that are running with this process as their owner.
std::list<const KThread*> thread_list;
+ /// List of shared memory that are running with this process as their owner.
+ std::list<KSharedMemoryInfo*> shared_memory_list;
+
/// Address of the top of the main thread's stack
VAddr main_thread_stack_top{};