| 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/setupapi/parser.c b/dlls/setupapi/parser.c index 9c6d4fc..53c9e39 100644 --- a/dlls/setupapi/parser.c +++ b/dlls/setupapi/parser.c
@@ -169,8 +169,7 @@ if (new_array) *count = new_count; else - if (array) - HeapFree( GetProcessHeap(), 0, array ); + HeapFree( GetProcessHeap(), 0, array ); return new_array; }