[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix 'cfexecd -d1' segmentation fault
From: |
Andrew Stribblehill |
Subject: |
[PATCH] fix 'cfexecd -d1' segmentation fault |
Date: |
Tue, 18 Feb 2003 17:55:05 +0000 |
User-agent: |
Mutt/1.5.3i |
The attached patch (relative to 2.0.5) generalises the DeleteItem*
functions in item-ext.c and adds a feature to remove an item which
completely matches an element of the list.
It also changes eval.c to use the new feature, when removing items
from VHEAP. For whatever reason, this fixes my segmentation fault.
I'm a little concerned about memory leaks since I'm not always
freeing &rx or &rxcache, but this seems to be the way
DeleteItemMatching did things, and segmentation faults happened when
I tried to free them.
--
LUNDY
SOUTHEAST 5 TO 7. RAIN LATER. MODERATE OR GOOD
0_item_00_del_item_lit
Description: Text document