fixed allocating the memory for the security descriptor
Modified: trunk/reactos/lib/ntmarta/ntmarta.c

Modified: trunk/reactos/lib/ntmarta/ntmarta.c
--- trunk/reactos/lib/ntmarta/ntmarta.c	2006-01-22 03:50:36 UTC (rev 20969)
+++ trunk/reactos/lib/ntmarta/ntmarta.c	2006-01-22 03:53:02 UTC (rev 20970)
@@ -62,7 +62,7 @@
         /* allocate a buffer large enough to hold the
            security descriptor we need to return */
         SDSize += 0x100;
-        if (pSD != NULL)
+        if (pSD == NULL)
         {
             pSD = LocalAlloc(LMEM_FIXED,
                              (SIZE_T)SDSize);