diff options
| author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-10-04 00:09:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-04 00:09:08 -0400 |
| commit | 01f79d638fbbca54280ab9b5840e5a483b7ceb69 (patch) | |
| tree | 6520b5f70f2d3132031610e39d6d7c50aa268838 /src/core/hle/kernel/k_process.h | |
| parent | d418af157a03f64f4dac79f559f619b33ba02a65 (diff) | |
| parent | 5fbfc4c19eaca2ad88bf34ec33d068ffab6fe672 (diff) | |
Merge pull request #7091 from vonchenplus/fix_memroy_leak
core: Fix memory 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 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{}; |
