diff options
author | Susant Sahani <ssahani@vmware.com> | 2021-01-17 10:20:22 +0100 |
---|---|---|
committer | Susant Sahani <ssahani@vmware.com> | 2021-01-17 14:25:05 +0100 |
commit | daced7483b54d9166080343efa52c2f38997c83c (patch) | |
tree | 305afff5a8947b74654e319b44bc555477b46d39 /src/resolve/resolved-dns-packet.c | |
parent | resolved-dns-packet: Use hashmap_ensure_put (diff) | |
download | systemd-daced7483b54d9166080343efa52c2f38997c83c.tar.xz systemd-daced7483b54d9166080343efa52c2f38997c83c.zip |
resolved-dns-packet: Use TAKE_PTR
Diffstat (limited to 'src/resolve/resolved-dns-packet.c')
-rw-r--r-- | src/resolve/resolved-dns-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index 704ac56a7c..9a0e2d5161 100644 --- a/src/resolve/resolved-dns-packet.c +++ b/src/resolve/resolved-dns-packet.c @@ -561,7 +561,7 @@ int dns_packet_append_name( if (r < 0) goto fail; - s = NULL; + TAKE_PTR(s); } } |