summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-bus.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-02-05 14:03:19 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-02-08 09:38:42 +0100
commitfe8c5ce615ee2123f17b1f0b3728c439e19e4b5b (patch)
treebb3bd224aa5dc96370d7b9560f1e08ebe049c73f /src/resolve/resolved-bus.c
parentresolve: fix potential memleak and use-after-free (diff)
downloadsystemd-fe8c5ce615ee2123f17b1f0b3728c439e19e4b5b.tar.xz
systemd-fe8c5ce615ee2123f17b1f0b3728c439e19e4b5b.zip
resolve: fix possible memleak
Fortunately, unlike the issue fixed in the previous commit, the memleak should be superficial and not become apparent, as the queries handled here are managed by the stub stream, and will be freed when the stream is closed. Just for safety, and slightly reducing the runtime memory usage by the stub stream.
Diffstat (limited to 'src/resolve/resolved-bus.c')
0 files changed, 0 insertions, 0 deletions