Author: hbelusca Date: Mon Jul 17 20:55:34 2017 New Revision: 75368
URL: http://svn.reactos.org/svn/reactos?rev=75368&view=rev Log: [CRT]: Add a missing _munlock call, caught by Serge Gautherie. CORE-11568
Modified: trunk/reactos/sdk/lib/crt/stdio/popen.c
Modified: trunk/reactos/sdk/lib/crt/stdio/popen.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/stdio/popen.c?r... ============================================================================== --- trunk/reactos/sdk/lib/crt/stdio/popen.c [iso-8859-1] (original) +++ trunk/reactos/sdk/lib/crt/stdio/popen.c [iso-8859-1] Mon Jul 17 20:55:34 2017 @@ -52,7 +52,7 @@ TRACE(MK_STR(_tpopen)"('%"sT"', '%"sT"')\n", cm, md);
if (cm == NULL) - return( NULL ); + return NULL;
szComSpec = _tgetenv(_T("COMSPEC")); if (szComSpec == NULL) @@ -161,6 +161,7 @@ return ret;
error: + _munlock(_POPEN_LOCK); if (ProcessInformation.hProcess != 0) CloseHandle(ProcessInformation.hProcess); return NULL;