Commit in reactos/subsys/csrss on MAIN
api/process.c+2-41.37 -> 1.38
win32csr/desktopbg.c+2-21.13 -> 1.14
+4-6
2 modified files
Free process data when LPC port is closed, not when process is terminated,
'cause there now might be a "hide desktop" request coming in after process
termination

reactos/subsys/csrss/api
process.c 1.37 -> 1.38
diff -u -r1.37 -r1.38
--- process.c	18 Dec 2004 19:23:05 -0000	1.37
+++ process.c	23 Dec 2004 18:02:12 -0000	1.38
@@ -1,4 +1,4 @@
-/* $Id: process.c,v 1.37 2004/12/18 19:23:05 gvg Exp $
+/* $Id: process.c,v 1.38 2004/12/23 18:02:12 gvg Exp $
  *
  * reactos/subsys/csrss/api/process.c
  *
@@ -270,9 +270,7 @@
       return(Reply->Status = STATUS_INVALID_PARAMETER);
    }
 
-   Status = CsrFreeProcessData(ProcessData->ProcessId);
-
-   Reply->Status = Status;
+   Reply->Status = STATUS_SUCCESS;
    return Status;
 }
 

reactos/subsys/csrss/win32csr
desktopbg.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- desktopbg.c	21 Dec 2004 21:38:26 -0000	1.13
+++ desktopbg.c	23 Dec 2004 18:02:12 -0000	1.14
@@ -1,4 +1,4 @@
-/* $Id: desktopbg.c,v 1.13 2004/12/21 21:38:26 weiden Exp $
+/* $Id: desktopbg.c,v 1.14 2004/12/23 18:02:12 gvg Exp $
  *
  * reactos/subsys/csrss/win32csr/desktopbg.c
  *
@@ -326,7 +326,7 @@
   
   /* The hDesktop handle is only valid while processing this request! */
 
-  DPRINT1("CsrHideDesktop (hwnd: 0x%x) (PID:%d)\n", Request->Data.ShowDesktopRequest.DesktopWindow, GetCurrentProcessId());
+  DPRINT("CsrHideDesktop (hwnd: 0x%x) (PID:%d)\n", Request->Data.ShowDesktopRequest.DesktopWindow, GetCurrentProcessId());
 
   Reply->Header.MessageSize = sizeof(CSRSS_API_REPLY);
   Reply->Header.DataSize = sizeof(CSRSS_API_REPLY) - LPC_MESSAGE_BASE_SIZE;
CVSspam 0.2.8