summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-29 19:14:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:59 -0500
commit3bc4fd1bb9bfbd0e0efd89d47c50bf798e5a1481 (patch)
tree429afd025bad12ab90486ba4404fc9293f8bdf45 /source3/passdb
parent164a7600512d85bb9871f71131927802bbbd879d (diff)
downloadsamba-3bc4fd1bb9bfbd0e0efd89d47c50bf798e5a1481.tar.gz
samba-3bc4fd1bb9bfbd0e0efd89d47c50bf798e5a1481.tar.bz2
samba-3bc4fd1bb9bfbd0e0efd89d47c50bf798e5a1481.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 (This used to be commit 70edd716ef0ccb218fe18d1233bd30abe46b62bf)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 55eb31ff84..8229fd68ab 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -50,10 +50,8 @@ const char *my_sam_name(void)
/**********************************************************************
***********************************************************************/
-static int samu_destroy(void *p)
+static int samu_destroy(struct samu *user)
{
- struct samu *user = (struct samu *)p;
-
data_blob_clear_free( &user->lm_pw );
data_blob_clear_free( &user->nt_pw );