]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-smtp: client: transaction: Hold a reference to the transaction while calling...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 2 Nov 2018 09:08:26 +0000 (10:08 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 3 Nov 2018 18:00:55 +0000 (19:00 +0100)
commit0a85bcddde4eebcd16c5bc6499341ffed5eee6fa
tree9f5a1da8d68b6582754055806b2390acadeb17a0
parent33ed40dfd4f68299d05e257c359bf2693f9a661e
lib-smtp: client: transaction: Hold a reference to the transaction while calling the RCPT command callback.

This fixes memory problems when the callback inadvertently gets the transaction destroyed.
src/lib-smtp/smtp-client-transaction.c