all repos — fluxbox @ ff9c68e247704bd1522ea7a2055b7fa4b2b0c568

custom fork of the fluxbox windowmanager

fixed potential memory leak
Mathias Gumz akira at fluxbox dot org
commit

ff9c68e247704bd1522ea7a2055b7fa4b2b0c568

parent

17b21635a2c6abd20277dcd087a40785c5806abc

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/FbTk/Shape.ccsrc/FbTk/Shape.cc

@@ -77,8 +77,10 @@ XYPixmap, 0,

data, 8, 8, 32, 0); - if (ximage == 0) + if (ximage == 0) { + free(data); return 0; + } XInitImage(ximage);