Skip to content

Commit

Permalink
Fix leak with 'xroot' transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
jarcode-foss committed Nov 2, 2018
1 parent 6670c54 commit 1d2b014
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ unsigned int xwin_copyglbg(struct renderer* rd, unsigned int tex) {
}

if (image) XDestroyImage(image);
XFree(info);

return texture;
}

0 comments on commit 1d2b014

Please sign in to comment.