commit | 5ad7d858e0d6168429fca902500ac5b50f14dc30 | [log] [tgz] |
---|---|---|
author | Michael Stefaniuc <mstefani@redhat.de> | Thu Dec 23 17:06:43 2004 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Dec 23 17:06:43 2004 +0000 |
tree | 5801e7f60e1982dfd7a54c450c5ab3c015cb8e6a | |
parent | bf42021e06b6757db5b014a8cde443aada22a0a1 [diff] [blame] |
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; }