diff options
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 5 |
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 | ||
490 | void Ewmh::updateState(FluxboxWindow &win) { | 493 | void Ewmh::updateState(FluxboxWindow &win) { |