Home page logo
/

wireshark logo Wireshark mailing list archives

Re: leaking memory on shutdown
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Thu, 27 Jun 2013 17:25:26 -0400

[Taking discussion out of the bug since it's not specifically related to that bug.]

On 06/18/13 18:20, bugzilla-daemon () wireshark org wrote:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8674#c8

However, those
protocols currently use glib memory and therefore leak on shutdown,

Isn't that a bit of an oxymoron? :-)

(I know, I know, a while ago I spent a bunch of time cleaning up the preferences code to avoid leaks on shutdown--I think I commented something like "I do this just so I know where it is the stuff is being freed.")

But, more seriously, Guy pointed out a (long?) while ago that a certain OS from a company he knows well has a way for applications to tell the OS something like "I have nothing to save before exiting" and when that flag is set and the user closes the app, the OS kills it with SIGKILL: it's faster and simpler that way. It's an interesting concept... It makes me think that we shouldn't really be spending time trying to fix leaks on shutdown.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]