mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
r15854: more talloc_set_destructor() typesafe fixes
(This used to be commit 61c6100617
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
cdc64c448d
commit
971d30bb20
@ -28,9 +28,8 @@
|
||||
/*
|
||||
auto-close sockets on free
|
||||
*/
|
||||
static int socket_destructor(void *ptr)
|
||||
static int socket_destructor(struct socket_context *sock)
|
||||
{
|
||||
struct socket_context *sock = ptr;
|
||||
if (sock->ops->fn_close) {
|
||||
sock->ops->fn_close(sock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user