From f309e45b80f1f08b31877e013964d2d54a291756 Mon Sep 17 00:00:00 2001 From: deadwood Date: Sun, 26 Jun 2016 18:09:50 +0000 Subject: [PATCH] smb-handler: do not free a message port as this is process message port This seems to be AROS customization of smb-handler. Original codes create a message port. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52764 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/network/smbfs/source_code/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workbench/network/smbfs/source_code/main.c b/workbench/network/smbfs/source_code/main.c index f325bcc172..4460646935 100755 --- a/workbench/network/smbfs/source_code/main.c +++ b/workbench/network/smbfs/source_code/main.c @@ -1668,7 +1668,10 @@ Cleanup(VOID) while((mn = GetMsg(FileSystemPort)) != NULL) ReplyPkt((struct DosPacket *)mn->mn_Node.ln_Name,DOSFALSE,ERROR_ACTION_NOT_KNOWN); +#if !defined(__AROS__) + /* AROS codes use message port from file system process */ DeleteMsgPort(FileSystemPort); +#endif FileSystemPort = NULL; } -- 2.11.4.GIT