Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.

diff --git a/dlls/kernel/file.c b/dlls/kernel/file.c
index e199096..960935d 100644
--- a/dlls/kernel/file.c
+++ b/dlls/kernel/file.c
@@ -1518,7 +1518,7 @@
     return (HANDLE)info;
 
 error:
-    if (info) HeapFree( GetProcessHeap(), 0, info );
+    HeapFree( GetProcessHeap(), 0, info );
     RtlFreeUnicodeString( &nt_name );
     return INVALID_HANDLE_VALUE;
 }