mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
Kernel: Make Process::m_master_tls_region a WeakPtr
Let's not keep raw Region* variables around like that when it's so easy to avoid it.
This commit is contained in:
parent
b0623a0c58
commit
5af95139fa
2 changed files with 3 additions and 3 deletions
|
@ -498,7 +498,7 @@ private:
|
|||
RefPtr<ProcessTracer> m_tracer;
|
||||
OwnPtr<ELFLoader> m_elf_loader;
|
||||
|
||||
Region* m_master_tls_region { nullptr };
|
||||
WeakPtr<Region> m_master_tls_region;
|
||||
size_t m_master_tls_size { 0 };
|
||||
size_t m_master_tls_alignment { 0 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue