mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
hooksystem: Fix miscalculation in comment (#5442)
This commit is contained in:
parent
baad44b4ca
commit
942172d2dc
@ -336,7 +336,7 @@ static uintptr_t seekNewPageAddr() {
|
||||
uint64_t CHookSystem::getAddressForTrampo() {
|
||||
// yes, technically this creates a memory leak of 64B every hook creation. But I don't care.
|
||||
// tracking all the users of the memory would be painful.
|
||||
// Nobody will hook 100k times, and even if, that's only 640kB. Nothing.
|
||||
// Nobody will hook 100k times, and even if, that's only 6.4 MB. Nothing.
|
||||
|
||||
SAllocatedPage* page = nullptr;
|
||||
for (auto& p : pages) {
|
||||
|
Loading…
Reference in New Issue
Block a user