From 1c15cfffb4ec7d9a6e3053086fb8495a185f6a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Tue, 21 Feb 2012 21:36:01 +0000 Subject: [PATCH] [CRT] - Check for NULL before freeing svn path=/trunk/; revision=55794 --- reactos/lib/sdk/crt/stdio/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/sdk/crt/stdio/file.c b/reactos/lib/sdk/crt/stdio/file.c index e3e4e2cd4de..7696a78ef00 100644 --- a/reactos/lib/sdk/crt/stdio/file.c +++ b/reactos/lib/sdk/crt/stdio/file.c @@ -963,10 +963,10 @@ void msvcrt_free_io(void) fclose(&_iob[2]); for(i=0; iSpare[0] = 0; DeleteCriticalSection(&file_cs);