Dereference process object.
Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c

Modified: trunk/reactos/ntoskrnl/ex/sysinfo.c
--- trunk/reactos/ntoskrnl/ex/sysinfo.c	2005-03-01 02:32:09 UTC (rev 13787)
+++ trunk/reactos/ntoskrnl/ex/sysinfo.c	2005-03-01 06:34:16 UTC (rev 13788)
@@ -854,8 +854,12 @@
 
            if (curSize > Size)
              {
+               DPRINT1("SystemHandleInformation 2\n");
                *ReqSize = curSize;
-               DPRINT1("SystemHandleInformation 2\n");
+               if (pr != NULL)
+	         {
+	            ObDereferenceObject(pr);
+	         }
                return (STATUS_INFO_LENGTH_MISMATCH);
              }