all repos — fluxbox @ 13bf2a7fddff4242581eec62243222acd49a1537

custom fork of the fluxbox windowmanager

fixed 2 possible memleaks
akir akir
commit

13bf2a7fddff4242581eec62243222acd49a1537

parent

5337fc6640efbe911682568b6281850fd322e4bb

2 files changed, 6 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.10: *04/08/26: + * Fixed 2 possible Memleaks (Mathias) + Ewmh.cc * Re-implement bevels in toolbar, plus numerous toolbar-related theme fixes => old styles now look like they used to! (Simon) Toolbar.cc ToolbarItem.h ToolTheme.cc ToolbarTheme.cc ToolFactory.cc
M src/Ewmh.ccsrc/Ewmh.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Ewmh.cc,v 1.48 2004/07/21 18:56:34 fluxgen Exp $ +// $Id: Ewmh.cc,v 1.49 2004/08/26 01:51:21 akir Exp $ #include "Ewmh.hh"

@@ -198,6 +198,7 @@ win.stick();

} } + XFree(data); } setupState(win);

@@ -485,6 +486,8 @@ XA_CARDINAL, 32,

PropModeReplace, (unsigned char *)coords, 4*screen.getCount()); + + delete[] coords; } void Ewmh::updateState(FluxboxWindow &win) {