diff options
author | simonb <simonb> | 2006-04-24 13:34:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-04-24 13:34:14 (GMT) |
commit | f6a072430d4de159e229d6172adc5ba5ae985512 (patch) | |
tree | e87832fba92188131c4e9441b72c0e9c03666660 /src/Slit.cc | |
parent | 731f0deaafff3a4fe4353bbfc421a5dc3d5a2337 (diff) | |
download | fluxbox_pavel-f6a072430d4de159e229d6172adc5ba5ae985512.zip fluxbox_pavel-f6a072430d4de159e229d6172adc5ba5ae985512.tar.bz2 |
fix memory leaks in menu code
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index af3a0be..db2deae 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -347,6 +347,9 @@ Slit::~Slit() { | |||
347 | if (frame.pixmap != 0) | 347 | if (frame.pixmap != 0) |
348 | screen().imageControl().removeImage(frame.pixmap); | 348 | screen().imageControl().removeImage(frame.pixmap); |
349 | 349 | ||
350 | // otherwise it will try to access it on deletion | ||
351 | screen().removeConfigMenu(m_slitmenu); | ||
352 | |||
350 | shutdown(); | 353 | shutdown(); |
351 | } | 354 | } |
352 | 355 | ||