GNU bug report logs - #7190
Crash in menus on w32

Previous Next

Packages: emacs, w32;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Mon, 11 Oct 2010 15:26:02 UTC

Severity: normal

Tags: wontfix

Merged with 7170

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: grischka <grishka <at> gmx.de>
To: Jason Rumney <jasonr <at> gnu.org>
Cc: bug-gnu-emacs <at> gnu.org, lennart.borgman <at> gmail.com
Subject: bug#7190: Crash in menus on w32
Date: Fri, 22 Oct 2010 18:20:48 +0200
Jason Rumney wrote:
> grischka <grishka <at> gmx.de> writes:
> 
>>> The above code was to fix a memory and resource leak in that case.
>> With the patch, leaking these strings cannot happen by design also
>> provided the MENUITEMs themselves are destroyed correctly always which
>> is made sure by bugs 2/3 fixed:
>>>> 2) memory leak: was trying to free items from already deleted menu
>>>> 3) memory leak: was trying to free menu from already deleted window
> 
> OK, I understand now - it seems you have fixed the underlying bug that
> caused that memory leak to happen in the first place, so the timer
> kludge is no longer neccesary.
> 

Just tried to be less clever.

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." -- Brian Kernighan





This bug report was last modified 12 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.