1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-25 00:23:52 +03:00

r2247: talloc_destroy -> talloc_free

This commit is contained in:
Tim Potter
2004-09-08 00:00:56 +00:00
committed by Gerald (Jerry) Carter
parent 301bb069c3
commit 6c1a72c5d6
11 changed files with 31 additions and 31 deletions

View File

@@ -727,7 +727,7 @@ static void smbsrv_init(struct server_service *service, const struct model_ops *
ifip = interpret_addr2(mem_ctx, lp_socket_address());
add_socket(service, model_ops, NULL, ifip);
talloc_destroy(mem_ctx);
talloc_free(mem_ctx);
}
}
@@ -783,7 +783,7 @@ static void smbsrv_close(struct server_connection *conn, const char *reason)
conn_close_all(smb_conn);
talloc_destroy(smb_conn->mem_ctx);
talloc_free(smb_conn->mem_ctx);
return;
}