mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 03:45:59 +01:00
hooksystem: Fix miscalculation in comment (#5442)
This commit is contained in:
parent
baad44b4ca
commit
942172d2dc
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue