diff options
Diffstat (limited to 'source4/lib/util_sock.c')
-rw-r--r-- | source4/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util_sock.c b/source4/lib/util_sock.c index 876698535ba..7fe42f7ffce 100644 --- a/source4/lib/util_sock.c +++ b/source4/lib/util_sock.c @@ -428,7 +428,7 @@ int open_udp_socket(const char *host, int port) sock_out.sin_port = htons(port); sock_out.sin_family = PF_INET; - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); if (connect(res,(struct sockaddr *)&sock_out,sizeof(sock_out))) { close(res); |