oleaut32: Remove superfluous NULL check before HeapFree (Smatch).

This commit is contained in:
Michael Stefaniuc 2010-03-16 23:05:39 +01:00 committed by Alexandre Julliard
parent 5893f3227c
commit c71b82f3c1
1 changed files with 1 additions and 3 deletions

View File

@ -3854,9 +3854,7 @@ static ULONG WINAPI ICreateTypeLib2_fnRelease(ICreateTypeLib2 *iface)
}
}
if(typeinfo->dual)
HeapFree(GetProcessHeap(), 0, typeinfo->dual);
HeapFree(GetProcessHeap(), 0, typeinfo->dual);
HeapFree(GetProcessHeap(), 0, typeinfo);
}