pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #6219] Descriptives Dialog


From: John Darrington
Subject: Re: [patch #6219] Descriptives Dialog
Date: Tue, 2 Oct 2007 11:32:30 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Oct 02, 2007 at 03:24:51AM +0000, Ben Pfaff wrote:
     
     Your patch is "obviously correct", thanks.
     
     Now I know about g_free.

I don't think the changes I made to stat_label_cell_data_func are in
fact causing the problem.  I made those just to be safe.

The real problem in this instance is, I think, that you had called
g_string_append AFTER you had assigned text to string->str.  The
API ref for GString says "The str field points to the character
data. It may move as text is added."

J'
     

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

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