On Wed, Apr 16, 2008 at 03:06:56AM -0000, Mackenzie Morgan wrote:
> Where's the memory leak?  The first version that was attached didn't
> have hexfpr being freed, but all subsequent ones did.

The previous patch showed hexfpr being freed once at the end of the
function - but being re-malloc()ed repeatedly inside a loop, overwriting the
pointer to the previously-malloc()ed memory each time.

A static buffer is much simpler here, given that the amount of data we need
to pass is small and constant.

-- 
Seahorse fails to import keys
https://bugs.launchpad.net/bugs/215729
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to seahorse in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to