summaryrefslogtreecommitdiffstats
path: root/hacks/glx/peepers.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/glx/peepers.c')
-rw-r--r--hacks/glx/peepers.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hacks/glx/peepers.c b/hacks/glx/peepers.c
index 4d15ff8..3dc8fc1 100644
--- a/hacks/glx/peepers.c
+++ b/hacks/glx/peepers.c
@@ -1,4 +1,4 @@
-/* peepers, Copyright (c) 2018 Jamie Zawinski <jwz@jwz.org>
+/* peepers, Copyright (c) 2018-2019 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -851,7 +851,7 @@ draw_ball (ModeInfo *mi, component which)
polys++;
}
glEnd();
- return polys;
+ goto DONE;
}
for (i = xstart; i <= xstop; i++)
@@ -1009,6 +1009,7 @@ draw_ball (ModeInfo *mi, component which)
if (!wire)
glEnd();
+ DONE:
free (stacks);
free (normals);