aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakir <akir>2004-08-26 01:51:21 (GMT)
committerakir <akir>2004-08-26 01:51:21 (GMT)
commit13bf2a7fddff4242581eec62243222acd49a1537 (patch)
tree9268b2cdc527232db0d1c81393f8c531aed73377
parent5337fc6640efbe911682568b6281850fd322e4bb (diff)
downloadfluxbox_paul-13bf2a7fddff4242581eec62243222acd49a1537.zip
fluxbox_paul-13bf2a7fddff4242581eec62243222acd49a1537.tar.bz2
fixed 2 possible memleaks
-rw-r--r--ChangeLog2
-rw-r--r--src/Ewmh.cc5
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4045d80..8f91e86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.10: 2Changes for 0.9.10:
3*04/08/26: 3*04/08/26:
4 * Fixed 2 possible Memleaks (Mathias)
5 Ewmh.cc
4 * Re-implement bevels in toolbar, plus numerous toolbar-related theme 6 * Re-implement bevels in toolbar, plus numerous toolbar-related theme
5 fixes => old styles now look like they used to! (Simon) 7 fixes => old styles now look like they used to! (Simon)
6 Toolbar.cc ToolbarItem.h ToolTheme.cc ToolbarTheme.cc ToolFactory.cc 8 Toolbar.cc ToolbarItem.h ToolTheme.cc ToolbarTheme.cc ToolFactory.cc
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index c5c327b..c19f06f 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Ewmh.cc,v 1.48 2004/07/21 18:56:34 fluxgen Exp $ 22// $Id: Ewmh.cc,v 1.49 2004/08/26 01:51:21 akir Exp $
23 23
24#include "Ewmh.hh" 24#include "Ewmh.hh"
25 25
@@ -198,6 +198,7 @@ void Ewmh::setupFrame(FluxboxWindow &win) {
198 } 198 }
199 199
200 } 200 }
201 XFree(data);
201 } 202 }
202 203
203 setupState(win); 204 setupState(win);
@@ -485,6 +486,8 @@ void Ewmh::updateWorkarea(BScreen &screen) {
485 PropModeReplace, 486 PropModeReplace,
486 (unsigned char *)coords, 487 (unsigned char *)coords,
487 4*screen.getCount()); 488 4*screen.getCount());
489
490 delete[] coords;
488} 491}
489 492
490void Ewmh::updateState(FluxboxWindow &win) { 493void Ewmh::updateState(FluxboxWindow &win) {