resolved: when destroying a scope, only abort live transactions

This commit is contained in:
Lennart Poettering 2015-12-18 14:26:02 +01:00
parent f7014757fd
commit f4e380379a

View file

@ -81,6 +81,7 @@ static void dns_scope_abort_transactions(DnsScope *s) {
* freed while we still look at it */
t->block_gc++;
if (DNS_TRANSACTION_IS_LIVE(t->state))
dns_transaction_complete(t, DNS_TRANSACTION_ABORTED);
t->block_gc--;