summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-06-01 21:18:28 -0600
committerEduardo Chappa <chappa@washington.edu>2018-06-01 21:18:28 -0600
commit992277048fb4c5f380edb8e9247b7e721662ca89 (patch)
tree1ce9ea3a402d53c0622992e3c569f5c84467292e /pith
parentbd4fcf866fa5b84c658852d5ec495ef5800313ef (diff)
downloadalpine-992277048fb4c5f380edb8e9247b7e721662ca89.tar.xz
* A few more modifications to make Valgrind happy.
Diffstat (limited to 'pith')
-rw-r--r--pith/adrbklib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pith/adrbklib.c b/pith/adrbklib.c
index d03ea032..b7d28e0d 100644
--- a/pith/adrbklib.c
+++ b/pith/adrbklib.c
@@ -1066,8 +1066,10 @@ build_abook_tries(AdrBk *ab, char *warning)
}
}
- if(reverse)
+ if(reverse){
add_entry_to_trie(&ab->revfull_trie, reverse, (a_c_arg_t) entry_num);
+ fs_give((void **) &reverse);
+ }
if(forward && forward != ae->fullname)
fs_give((void **) &forward);