> From: Geert Janssens <[email protected]>
> To: [email protected]
> Subject: r22240 - gnucash/branches/2.4/src/app-utils - Fix a double
>       free crash when the required features dialog is shown
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
> 
> Author: gjanssens
> Date: 2012-06-25 16:54:55 -0400 (Mon, 25 Jun 2012)
> New Revision: 22240
> Trac: http://svn.gnucash.org/trac/changeset/22240
> 
> Modified:
>   gnucash/branches/2.4/src/app-utils/gnc-features.c
> Log:
> Fix a double free crash when the required features dialog is shown
> 

Geert,

This doesn't make sense to me. msg is allocated with a starting value, then the 
relevant feature names are added one at a time in the for loop, allocating a 
new string each time.  Where is msg getting double-freed?  ISTM your change 
will leak all of the strings except the last one.

Regards,
John Ralls


_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to