shithub: treason

Download patch

ref: a59ebb695f6e50298e8361fd3d40fd6cf0996ba8
parent: 52f33c04acdec0e9123f9566f6eddfa86d707cdb
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon Dec 14 10:08:42 EST 2020

no need to free curim

--- a/main.c
+++ b/main.c
@@ -280,8 +280,6 @@
 				lockdisplay(display);
 				if(getwindow(display, Refnone) < 0)
 					sysfatal("getwindow: %r");
-				freeimage(curim);
-				curim = nil;
 				draw(screen, screen->r, display->black, nil, ZP);
 				flushimage(display, 1);
 				unlockdisplay(display);