diff options
| author | Feng Chen <vonchenplus@gmail.com> | 2021-09-25 23:01:53 +0800 |
|---|---|---|
| committer | Feng Chen <vonchenplus@gmail.com> | 2021-09-29 09:51:20 +0800 |
| commit | 38fc397b0f2ee3279e6976b390fa1e2f3e6f81d2 (patch) | |
| tree | 95a899841bb6e1505372f5994bda3537ee2f940a /src/core/hle/kernel/k_process.h | |
| parent | 974547f98f0e477eef69cc00561cfc25e5cc0dcf (diff) | |
Fix KShareMemory object leak
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
| -rw-r--r-- | src/core/hle/kernel/k_process.h | 4 |
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 a03c074fb8..1a53e2be75 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{}; |
