s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / passdb / passdb.c
index 992f1b8741c8ddf8956f9a8f2aaa16b75eef89b2..fcdaf272c8d45c6cb1fef44db1f1dfd7e6dcadfe 100644 (file)
@@ -74,7 +74,7 @@ struct samu *samu_new( TALLOC_CTX *ctx )
 {
        struct samu *user;
 
 {
        struct samu *user;
 
-       if ( !(user = TALLOC_ZERO_P( ctx, struct samu )) ) {
+       if ( !(user = talloc_zero( ctx, struct samu )) ) {
                DEBUG(0,("samuser_new: Talloc failed!\n"));
                return NULL;
        }
                DEBUG(0,("samuser_new: Talloc failed!\n"));
                return NULL;
        }