Fix leak with 'xroot' transparency

This commit is contained in:
Jarcode
2018-11-02 13:09:48 -07:00
parent 6670c54827
commit 1d2b014da7

1
xwin.c
View File

@@ -389,6 +389,7 @@ unsigned int xwin_copyglbg(struct renderer* rd, unsigned int tex) {
}
if (image) XDestroyImage(image);
XFree(info);
return texture;
}