From b3016a96434afb26f152fbe1cce83a59076097ba Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 10 Jan 2024 13:53:36 -0500 Subject: Note to self. --- input.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/input.c b/input.c index 561b97e..eb37004 100644 --- a/input.c +++ b/input.c @@ -430,6 +430,13 @@ void key(char c) { exit(0); case 'z': + /* Note to self: the first 3 times z is pressed, the + process grows by ~1.2MB memory used... but after + that, it doesn't continue to grow. So what I have + here is not exactly a memory leak, but at least a + waste of memory that I wish I knew how to fix. 1.2MB + is almost nothing, by modern standards, it just + bugs me. */ winsize++; if(winsize == 3) winsize = 0; free_pixmaps(); -- cgit v1.2.3