[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:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1) |
URL:
<http://savannah.gnu.org/patch/?5885>
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
_______________________________________________________
Details:
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
<http://savannah.gnu.org/patch/download.php?file_id=12566>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?5885>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #5885] Fix leak in dictionary.c code,
Ben Pfaff <=