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

Submitted by:  Ben Pfaff <blp>
Submitted on:  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>
Project 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>
Project Administrator


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    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.5