aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--input.c7
1 files changed, 7 insertions, 0 deletions
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();