patchPSPP - Patches: patch #5885, Fix leak in dictionary.c code

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5885: Fix leak in dictionary.c code

Submitter:  Ben Pfaff <blp>
Submitted:  Sun 22 Apr 2007 08:25:53 PM UTC
   
 
Category:  None Item Group:  None
Status:  Done Assigned to:  None
Open/Closed:  Closed

Mon 23 Apr 2007 12:18:52 AM UTC, comment #1: 

No problems that I can see.

John Darrington <jmd>
Group administrator
Sun 22 Apr 2007 08:25:53 PM UTC, original submission:  

dict_destroy expects that dict_clear will free most data related to the dictionary.  dict_clear does a decent job, except that dict_set_split_vars on some systems won't actually free the dict's "split" member.  Instead, it'll allocate a 1-byte region.  This patch fixes that.

Ben Pfaff <blp>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #12566:  dict-leak.patch added by blp (2KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by blp (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-23 blp StatusNone Done
        Open/ClosedOpen Closed
    2007-04-22 blp Attached File- Added dict-leak.patch, #12566

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code