diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-29 19:14:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:59 -0500 |
commit | 70edd716ef0ccb218fe18d1233bd30abe46b62bf (patch) | |
tree | ca26234a061d81269f275a24f76fec04ffdfb66a /source/auth/auth_util.c | |
parent | ae313ab4caa5652199b9aaceb30b4d432ab4f393 (diff) | |
download | samba-70edd716ef0ccb218fe18d1233bd30abe46b62bf.tar.gz samba-70edd716ef0ccb218fe18d1233bd30abe46b62bf.tar.xz samba-70edd716ef0ccb218fe18d1233bd30abe46b62bf.zip |
r17924: Get rid of warnings now that talloc is merged.
Destructors now take a pointer to the "real" destroyed object as an argument.
Volker
Diffstat (limited to 'source/auth/auth_util.c')
-rw-r--r-- | source/auth/auth_util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c index 26d1eb710f6..c2f32f4f955 100644 --- a/source/auth/auth_util.c +++ b/source/auth/auth_util.c @@ -513,11 +513,8 @@ NT_USER_TOKEN *get_root_nt_token( void ) return token; } -static int server_info_dtor(void *p) +static int server_info_dtor(auth_serversupplied_info *server_info) { - auth_serversupplied_info *server_info = - talloc_get_type_abort(p, auth_serversupplied_info); - if (server_info->sam_account != NULL) { TALLOC_FREE(server_info->sam_account); } |