diff options
author | rathnor <rathnor> | 2003-04-09 17:20:06 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-04-09 17:20:06 (GMT) |
commit | 51007f35a531c892b1ee2013cc7f180ff20c0744 (patch) | |
tree | bd77d6e845d6742d01d11349e5c5095fe27e866a /src/Gnome.cc | |
parent | 2f9ba66d12d67e1a0bdd102d1e665b8b55161fe8 (diff) | |
download | fluxbox_pavel-51007f35a531c892b1ee2013cc7f180ff20c0744.zip fluxbox_pavel-51007f35a531c892b1ee2013cc7f180ff20c0744.tar.bz2 |
Little fixes to bugs highlighted by valgrind - Simon
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r-- | src/Gnome.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc index 44a593b..13484c4 100644 --- a/src/Gnome.cc +++ b/src/Gnome.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: Gnome.cc,v 1.13 2003/03/04 11:13:42 fluxgen Exp $ | 22 | // $Id: Gnome.cc,v 1.14 2003/04/09 17:20:01 rathnor Exp $ |
23 | 23 | ||
24 | #include "Gnome.hh" | 24 | #include "Gnome.hh" |
25 | 25 | ||
@@ -33,6 +33,7 @@ using namespace std; | |||
33 | 33 | ||
34 | Gnome::Gnome() { | 34 | Gnome::Gnome() { |
35 | createAtoms(); | 35 | createAtoms(); |
36 | enableUpdate(); | ||
36 | } | 37 | } |
37 | 38 | ||
38 | Gnome::~Gnome() { | 39 | Gnome::~Gnome() { |
@@ -160,7 +161,7 @@ void Gnome::updateClientList(BScreen &screen) { | |||
160 | XA_CARDINAL, 32, | 161 | XA_CARDINAL, 32, |
161 | PropModeReplace, (unsigned char *)wl, num); | 162 | PropModeReplace, (unsigned char *)wl, num); |
162 | 163 | ||
163 | delete wl; | 164 | delete[] wl; |
164 | } | 165 | } |
165 | 166 | ||
166 | void Gnome::updateWorkspaceNames(BScreen &screen) { | 167 | void Gnome::updateWorkspaceNames(BScreen &screen) { |