https://bugs.freedesktop.org/show_bug.cgi?id=66701

Michael Meeks <michael.me...@collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus.mohrhard@googlemail.
                   |                            |com,
                   |                            |michael.me...@collabora.com

--- Comment #19 from Michael Meeks <michael.me...@collabora.com> ---
Looks like this:

    boost::scoped_ptr<HASHContext> hc(HASH_Create(HASH_AlgSHA1));

vs. the explicit destroy:

    HASH_End(hc.get(), digest.data, &digest.len, SHA1_LENGTH);
    HASH_Destroy(hc.get());

is the basic problem - a double free - ho hum; nice to use scoped_ptr of course
- but not really with a C-style structure like this (I suspect).

Looks like it crept in here:

commit d73c039fa5353f0b96026bed4a0da31d9a41d2c7
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Thu Sep 5 15:17:08 2013 +0200

    CID#1078782: fix memory leak

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to