[cairo-bugs] [Bug 91206] Use of a pointer after it is freed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 7 15:30:32 PDT 2015


Bryce Harrington <b.harrington at samsung.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Bryce Harrington <b.harrington at samsung.com> ---
Thanks, a free is also needed at line 111, which fix pushed:

commit 399c034bb8c7424c2ed57242cad23e9323bc7978
Author: Arpit Jain <jain.arpit at samsung.com>
Date:   Fri Jul 3 15:31:48 2015 +0530

    test/bitmap-font: Fix use of pointer after freed pointer

    The pointer 'filename' is already freed and still used as a function
    argument.  This patch will free the pointer 'filename' only after it is

    Also, the patch ensures that it frees the pointer 'filename' before any
    return of this function.

    Fixes:  https://bugs.freedesktop.org/show_bug.cgi?id=91206
    Signed-off-by: Arpit Jain <jain.arpit at samsung.com>
    Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150707/c47b13a8/attachment.html>

More information about the cairo-bugs mailing list