git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[abartlet/samba.git/.git]
/
source4
/
lib
/
util_sock.c
diff --git
a/source4/lib/util_sock.c
b/source4/lib/util_sock.c
index 876698535bacb0ee39cd88dfc0f6e6d591b27e2c..7fe42f7ffce565ee21f39146bb990b1b6df73b06 100644
(file)
--- 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);