]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-stream.c
resolved: pin stream while calling callbacks for it
authorLennart Poettering <lennart@poettering.net>
Tue, 4 Dec 2018 21:13:39 +0000 (22:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 7 Dec 2018 16:22:59 +0000 (17:22 +0100)
commitd973d94dec349fb676fdd844f6fe2ada3538f27c
treea1474a2671d1dc08ff3a4f6c5333230ce9040592
parent904dcaf9d4933499f8334859f52ea8497f2d24ff
resolved: pin stream while calling callbacks for it

These callbacks might unref the stream, but we still have to access it,
let's hence ref it explicitly.

Maybe fixes: #10725
src/resolve/resolved-dns-stream.c