Fix segfault when account password is not saved…
authorRicardo Mones <ricardo@mones.org>
Sat, 6 Feb 2016 22:49:51 +0000 (23:49 +0100)
committerRicardo Mones <ricardo@mones.org>
Sat, 6 Feb 2016 22:49:51 +0000 (23:49 +0100)
commitb7477fbe534b8d1712b27a737d55b82c2a294b97
treed33ad38ec9d50b327c4bc6a8bb02d7674975d20d
parenteb130cbe507a9877d59d444065140960a828af67
Fix segfault when account password is not saved…

…in account preferences, introduced also in 54adfb4.
In this case acc_pass is NULL, so it must be checked
before trying to dereference it.
src/imap.c