diff --git a/ChangeLog b/ChangeLog index 4045d80f..8f91e86c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/Ewmh.cc b/src/Ewmh.cc index c5c327b0..c19f06fe 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc @@ -19,7 +19,7 @@ // 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 @@ void Ewmh::setupFrame(FluxboxWindow &win) { } } + XFree(data); } setupState(win); @@ -485,6 +486,8 @@ void Ewmh::updateWorkarea(BScreen &screen) { PropModeReplace, (unsigned char *)coords, 4*screen.getCount()); + + delete[] coords; } void Ewmh::updateState(FluxboxWindow &win) {