[SAMSRV]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 2 Jun 2013 10:45:48 +0000 (10:45 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 2 Jun 2013 10:45:48 +0000 (10:45 +0000)
SamrDeleteAlias: Dereference the AliasHandle parameter properly. All SamrDelete functions use a pointer to the handle. The other SamrDelete functions do it right.

svn path=/trunk/; revision=59140

reactos/dll/win32/samsrv/samrpc.c

index afc7122..0bda014 100644 (file)
@@ -4679,7 +4679,7 @@ SamrDeleteAlias(IN OUT SAMPR_HANDLE *AliasHandle)
     NTSTATUS Status;
 
     /* Validate the alias handle */
     NTSTATUS Status;
 
     /* Validate the alias handle */
-    Status = SampValidateDbObject(AliasHandle,
+    Status = SampValidateDbObject(*AliasHandle,
                                   SamDbAliasObject,
                                   DELETE,
                                   &AliasObject);
                                   SamDbAliasObject,
                                   DELETE,
                                   &AliasObject);