[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    [patch] clean up potential memory leak in thread.c
From:       kewarken () qnx ! com (Kris Warkentin)
Date:       2005-09-29 17:16:00
Message-ID: 433C21F1.9000903 () qnx ! com
[Download RAW message or body]

Got rid of a 'FIXME' by implementing a target hook for cleaning up 
private thread info.  Look kosher?

cheers,

Kris

2005-09-29  Kris Warkentin  <kewarken@qnx.com>

    * target.h (struct target_ops): Add new to_delete_extra_thread_info
    hook and define target_delete_extra_thread_info macro.
    * target.c (update_current_target):  INHERIT and de_fault above target
    function.
    * thread.c (free_thread): Call target_delete_extra_thread_info before
    freeing private thread data.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tidinfo.diff
Type: text/x-patch
Size: 2641 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050929/f0b44a51/attachment.bin>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic