bug-guile-ncurses
[Top][All Lists]
Advanced

[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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]