diff options
author | B. Watson <urchlay@slackware.uk> | 2024-01-10 13:53:36 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-01-10 13:53:36 -0500 |
commit | b3016a96434afb26f152fbe1cce83a59076097ba (patch) | |
tree | b5590cb9a03f00f038ce21f99aec62135e4366fe | |
parent | a47bf6ed4f186f41693e186bf107cf51ada4d5ae (diff) | |
download | hcalc-b3016a96434afb26f152fbe1cce83a59076097ba.tar.gz |
Note to self.
-rw-r--r-- | input.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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(); |