From 992277048fb4c5f380edb8e9247b7e721662ca89 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 1 Jun 2018 21:18:28 -0600 Subject: * A few more modifications to make Valgrind happy. --- pith/adrbklib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pith/adrbklib.c') 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); -- cgit v1.2.3-54-g00ecf