fixed 2 possible memleaks
akir akir
2 files changed,
6 insertions(+),
1 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,6 +1,8 @@
(Format: Year/Month/Day) Changes for 0.9.10: *04/08/26: + * Fixed 2 possible Memleaks (Mathias) + Ewmh.cc * Re-implement bevels in toolbar, plus numerous toolbar-related theme fixes => old styles now look like they used to! (Simon) Toolbar.cc ToolbarItem.h ToolTheme.cc ToolbarTheme.cc ToolFactory.cc
M
src/Ewmh.cc
→
src/Ewmh.cc
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Ewmh.cc,v 1.48 2004/07/21 18:56:34 fluxgen Exp $ +// $Id: Ewmh.cc,v 1.49 2004/08/26 01:51:21 akir Exp $ #include "Ewmh.hh"@@ -198,6 +198,7 @@ win.stick();
} } + XFree(data); } setupState(win);@@ -485,6 +486,8 @@ XA_CARDINAL, 32,
PropModeReplace, (unsigned char *)coords, 4*screen.getCount()); + + delete[] coords; } void Ewmh::updateState(FluxboxWindow &win) {