[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-guile-ncurses] [PATCH 2/2] Do not allow menu's internal data to
From: |
Mike Gran |
Subject: |
Re: [Bug-guile-ncurses] [PATCH 2/2] Do not allow menu's internal data to be destroyed, until the menu itself is destroyed. |
Date: |
Tue, 3 May 2016 14:09:10 +0000 (UTC) |
> On Tuesday, May 3, 2016 4:34 AM, John Darrington <address@hidden> wrote:
> > The error fixed here, is that the "items" pointer was getting
> unprotected whenever the
> list passed to "new-menu" went out of scope. If this happened, any
> further use of the
> menu was likely to crash.
>
> This patch fixes the problem by making "items" owned by the menu
> instead of by the list
> which was used in its creation.
Seems reasonable. I'll push after I've made a test case for the
test suite.
-Mike
- [Bug-guile-ncurses] Segmentation violations in menus, John Darrington, 2016/05/03
- [Bug-guile-ncurses] [PATCH 1/2] Add reference count to ITEM structs contained by SCMs, John Darrington, 2016/05/03
- Re: [Bug-guile-ncurses] [PATCH 1/2] Add reference count to ITEM structs contained by SCMs, John Darrington, 2016/05/03
- Re: [Bug-guile-ncurses] [PATCH 1/2] Add reference count to ITEM structs contained by SCMs, Mike Gran, 2016/05/03
- Re: [Bug-guile-ncurses] [PATCH 1/2] Add reference count to ITEM structs contained by SCMs, John Darrington, 2016/05/03
- Re: [Bug-guile-ncurses] [PATCH 1/2] Add reference count to ITEM structs contained by SCMs, Mike Gran, 2016/05/26
- Re: [Bug-guile-ncurses] [PATCH 1/2] Add reference count to ITEM structs contained by SCMs, John Darrington, 2016/05/26
- Re: [Bug-guile-ncurses] [PATCH 1/2] Add reference count to ITEM structs contained by SCMs, Mike Gran, 2016/05/26
[Bug-guile-ncurses] [PATCH 2/2] Do not allow menu's internal data to be destroyed, until the menu itself is destroyed., John Darrington, 2016/05/03