aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parent5337fc6640efbe911682568b6281850fd322e4bb (diff)
downloadfluxbox_paul-13bf2a7fddff4242581eec62243222acd49a1537.zip
fluxbox_paul-13bf2a7fddff4242581eec62243222acd49a1537.tar.bz2
fixed 2 possible memleaks
Diffstat (limited to 'src')
-rw-r--r--src/Ewmh.cc5
1 files changed, 4 insertions, 1 deletions
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) {