diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-06-16 00:36:14 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-06-16 00:36:14 -0600 |
commit | 19dfafb6bc3ed0d37036f21813b753a4dca91e52 (patch) | |
tree | 72ee32d9026dae4d1afb6e349f00375f9f207afe /alpine/alpine.c | |
parent | 6fc06defd55e7d00f620d40e52da47bc4c1b3a96 (diff) | |
download | alpine-19dfafb6bc3ed0d37036f21813b753a4dca91e52.tar.xz |
* Fix freeing history memory, and other changes to make Valgrind happy.
Diffstat (limited to 'alpine/alpine.c')
-rw-r--r-- | alpine/alpine.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alpine/alpine.c b/alpine/alpine.c index 825ef09f..c9c9b37b 100644 --- a/alpine/alpine.c +++ b/alpine/alpine.c @@ -1308,6 +1308,9 @@ main(int argc, char **argv) q_status_message(SM_ORDER | SM_DING, 4, 5, _("Use Compose command to continue interrupted message.")); + if(args.action == aaFolder && args.data.folder) + fs_give((void **) &args.data.folder); + #if defined(USE_QUOTAS) { long q; @@ -3551,7 +3554,6 @@ free_alpine_module_globals(void) free_passfile_cache(); #endif free_message_queue(); - free_mailcmd_globals(); free_titlebar_globals(); } |