diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-06-16 17:37:24 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-06-16 17:37:24 -0600 |
commit | 702a71b7cd83ad8881bce5d996bff7a86e35b117 (patch) | |
tree | cde02f7f904dd7c8e5dac3152c5f2a189e4b4e95 /pith/state.c | |
parent | 19dfafb6bc3ed0d37036f21813b753a4dca91e52 (diff) | |
download | alpine-702a71b7cd83ad8881bce5d996bff7a86e35b117.tar.xz |
* Clear up some memory so that valgrind does not complain.
Diffstat (limited to 'pith/state.c')
-rw-r--r-- | pith/state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pith/state.c b/pith/state.c index f4785850..7b1cbdd7 100644 --- a/pith/state.c +++ b/pith/state.c @@ -117,6 +117,9 @@ free_pine_struct(struct pine **pps) if(!(pps && (*pps))) return; + if((*pps)->free_initial_cmds != NULL) + fs_give((void **) &(*pps)->free_initial_cmds); + if((*pps)->id != NULL) mail_free_idlist(&(*pps)->id); |