[Top][All Lists]

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

[patch #5885] Fix leak in dictionary.c code

From: Ben Pfaff
Subject: [patch #5885] Fix leak in dictionary.c code
Date: Sun, 22 Apr 2007 20:25:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061205 Iceweasel/ (Debian-


                 Summary: Fix leak in dictionary.c code
                 Project: PSPP
            Submitted by: blp
            Submitted on: Sunday 04/22/07 at 13:25
                Category: None
              Item Group: None
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



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.


File Attachments:

Date: Sunday 04/22/07 at 13:25  Name: dict-leak.patch  Size: 2kB   By: blp



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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