summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-04-18 10:41:18 -0600
committerEduardo Chappa <chappa@washington.edu>2016-04-18 10:41:18 -0600
commit9f8500c277374795f2a1ba40c86bece5fee0ead6 (patch)
tree52964794f392f8566c8a9cb61260216105f40b69
parent83af74256b163fdf15d6d97c660a3783f930b98d (diff)
downloadalpine-9f8500c277374795f2a1ba40c86bece5fee0ead6.tar.xz
* Fix an error in compilation when Alpine is not built with S/MIME
support, but it is built with password file support. Reported by Robert G. Siebeck.
-rw-r--r--alpine/imap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/alpine/imap.c b/alpine/imap.c
index 99c03e4e..b853285e 100644
--- a/alpine/imap.c
+++ b/alpine/imap.c
@@ -2379,7 +2379,9 @@ read_passfile(pinerc, l)
#endif /* SMIME */
if(using_passfile == 0){
+#ifdef SMIME
if(text) fs_give((void **)&text);
+#endif /* SMIME */
return using_passfile;
}