s4:libcli/dgram: make use of socket_address_copy()
commit77f4f1c7dbaa2bb04d59d908923f6d11fd514da2
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Feb 2024 16:47:45 +0000 (15 17:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 5 Apr 2024 12:24:41 +0000 (5 12:24 +0000)
treec5ed7b3a3caa9bbeb934d7271edd84204cd3d23e
parent11861bcfc3054894bc445e631ae03befb4865db8
s4:libcli/dgram: make use of socket_address_copy()

This avoids talloc_reference...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15620

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/libcli/dgram/dgramsocket.c