ref: b7aedbb36634b9d67ec74d1156af03090ee913ba
parent: df7fcc6cac30738852965d9f4c1b6e90c6a977ae
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Nov 8 11:56:34 EST 2018
libdraw: cannot happen
--- a/sys/src/libdraw/init.c
+++ b/sys/src/libdraw/init.c
@@ -148,9 +148,7 @@
}
if(*winp != nil){
_freeimage1(*winp);
- if((*scrp)->image != nil
- && (*scrp)->image != image
- && (*scrp)->image != d->image)
+ if((*scrp)->image != d->image)
freeimage((*scrp)->image);
freescreen(*scrp);
*scrp = nil;