server: Prevent a crash on error while creating a token.
diff --git a/server/token.c b/server/token.c
index 28455a5..04d3808 100644
--- a/server/token.c
+++ b/server/token.c
@@ -424,6 +424,7 @@
         list_init( &token->privileges );
         list_init( &token->groups );
         token->primary = primary;
+        token->default_dacl = NULL;
 
         /* copy user */
         token->user = memdup( user, FIELD_OFFSET(SID, SubAuthority[user->SubAuthorityCount]) );
@@ -477,8 +478,6 @@
                 return NULL;
             }
         }
-        else
-            token->default_dacl = NULL;
 
         token->source = source;
     }