]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
fts: Do not attempt to deinitialize backend if it's not set
authorAki Tuomi <aki.tuomi@dovecot.fi>
Wed, 17 May 2017 09:26:42 +0000 (12:26 +0300)
committerGitLab <gitlab@git.dovecot.net>
Wed, 17 May 2017 11:22:13 +0000 (14:22 +0300)
commitde5d6bb50931ea243f582ace5a31abb11b619ffe
treee310e09ef71fdc9c160bbb96da9462e7bd4ef3f7
parent6dd7a0a5e52979f226b414d61d9a82e341710525
fts: Do not attempt to deinitialize backend if it's not set

If FTS backend initialization fails or does not happen,
flist->backend might end up being NULL, and attempt to
deinitialize NULL won't end well.
src/plugins/fts/fts-storage.c